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)
-   -   Fresh Install on Debian (http://www.howtoforge.com/forums/showthread.php?t=2422)

cksrealm 7th February 2006 14:15

Fresh Install on Debian
 
Hi all , I have decided to do a fresh install on my server running Debian 3.1 with the kernel image 2.6.8-2-386. However I have run into some issues as can be seen from the output below.

tar: Error exit delayed from previous errors
./setup2: line 771: 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 have followed the perfect install instructions to the word yet still getting the same issues, anyone got any ideas.

Kind Regards

Chris K

falko 7th February 2006 21:41

Did you try to install ISPConfig more than once?
Run
Code:

rm -fr /root/ispconfig
rm -fr /home/admispconfig

also delete the install_ispconfig directory. Then unpack the ISPConfig tar.gz again and run the setup again.

deusiah 7th February 2006 21:47

Wow talk about coincidence, I too have exactly this problem and my name is also Chris K, I guess ISPConfig doesn't get along well with us :P

Anyway, I'm compiling this for ARM. I have no idea if this problem is related to that? I would have assumed that because it's compiling Apache/PHP and not using a binary it would be OK but I guess it could be the case the scripts don't detect ARM?

This thing took around 5 hours to compile, is there no way of running this from my exisiting LAMP setup? I'd prefer that over running two servers.

If not is there any software similar to ISPConfig? I'd really like to use ISPConfig, it looks great but going through the painfull 5 hour process to recieve another fail message isn't something I want to do :S

till 7th February 2006 23:41

There are other ISP controlpanels, but i dont think you will find any that provide ARM binarys. ISPConfig is one of the most portable with the most supported linux distributions and architectures.

The next ISPConfig release will replace the last few binarys that we deliver with versions compiled during installation to be even more portable.

cksrealm 8th February 2006 10:14

I have only tried the install twice and both times i removed the install_ispconfig directory as required, there was however no /home/admispconfig directory at all. Again the error that I am getting is.

tar: Error exit delayed from previous errors
./setup2: line 771: 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!
mamba:/var/www/install_ispconfig#

deusiah 8th February 2006 14:54

Thanks for the info Till, does that mean ISPconfig is likely to work with ARM for the next release?

till 8th February 2006 15:15

Quote:

Originally Posted by cksrealm
tar: Error exit delayed from previous errors
./setup2: line 771: 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!
mamba:/var/www/install_ispconfig#

Are you sure you didnt got any errors before the tar error? If you are ot sure, you can have a look ath the ispconfig_install.log in /var/log/

Is your system time and date set correctly? Tar is a bit picky with the system time.

till 8th February 2006 15:16

Quote:

Originally Posted by deusiah
Thanks for the info Till, does that mean ISPconfig is likely to work with ARM for the next release?

None of the ISPConfig developers has an ARM server, so i really dont know it. We are doing everything to make it as portable as possible.

cksrealm 10th February 2006 13:26

The output from the section prior to this is shown below.

Configured for linux-elf.
making all in crypto...
make[1]: Entering directory `/var/www/install_ispconfig/compile_aps/openssl-0.9.8/crypto'
( echo "#ifndef MK1MF_BUILD"; \
echo ' /* auto-generated by crypto/Makefile for crypto/cversion.c */'; \
echo ' #define CFLAGS "gcc -DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -DL_ENDIAN -DTERMIO -O3 -fomit-frame-pointer -Wall -DOPENSSL_BN_ASM_PART_WORDS -DOPENSSL_IA32_SSE2 -DSHA1_ASM -DMD5_ASM -DRMD160_ASM -DAES_ASM"'; \
echo ' #define PLATFORM "linux-elf"'; \
echo " #define DATE \"`LC_ALL=C LC_TIME=C date`\""; \
echo '#endif' ) >buildinf.h
gcc -I. -I.. -I../include -DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -DL_ENDIAN -DTERMIO -O3 -fomit-frame-pointer -Wall -DOPENSSL_BN_ASM_PART_WORDS -DOPENSSL_IA32_SSE2 -DSHA1_ASM -DMD5_ASM -DRMD160_ASM -DAES_ASM -c -o cryptlib.o cryptlib.c
In file included from cryptlib.c:117:
cryptlib.h:62:20: error: stdlib.h: No such file or directory
cryptlib.h:63:20: error: string.h: No such file or directory
In file included from cryptlib.h:65,
from cryptlib.c:117:
../e_os.h:392:30: error: unistd.h: No such file or directory
../e_os.h:397:29: error: sys/types.h: No such file or directory
../e_os.h:621:25: error: strings.h: No such file or directory
In file included from cryptlib.h:72,
from cryptlib.c:117:
../include/openssl/crypto.h:125:19: error: stdio.h: No such file or directory
In file included from cryptlib.h:72,
from cryptlib.c:117:
../include/openssl/crypto.h:175: error: syntax error before 'size_t'
../include/openssl/crypto.h:175: warning: no semicolon at end of struct or union
../include/openssl/crypto.h:176: warning: type defaults to 'int' in declaration of 'value_length'
../include/openssl/crypto.h:176: warning: data definition has no type or storage class
../include/openssl/crypto.h:177: error: syntax error before '}' token
../include/openssl/crypto.h:177: warning: type defaults to 'int' in declaration of 'OPENSSL_ITEM'
../include/openssl/crypto.h:177: warning: data definition has no type or storage class
../include/openssl/crypto.h:442: warning: parameter names (without types) in function declaration
../include/openssl/crypto.h:442: error: syntax error before 'size_t'
../include/openssl/crypto.h:443: warning: parameter names (without types) in function declaration
../include/openssl/crypto.h:444: error: syntax error before 'const'
../include/openssl/crypto.h:445: error: syntax error before 'size_t'
../include/openssl/crypto.h:447: error: syntax error before 'const'
../include/openssl/crypto.h:454: warning: parameter names (without types) in function declaration
../include/openssl/crypto.h:454: error: syntax error before 'size_t'
../include/openssl/crypto.h:455: warning: parameter names (without types) in function declaration
../include/openssl/crypto.h:456: error: syntax error before 'const'
../include/openssl/crypto.h:457: error: syntax error before 'size_t'
../include/openssl/crypto.h:459: error: syntax error before 'const'
../include/openssl/crypto.h:476: error: syntax error before 'size_t'
../include/openssl/crypto.h:511: error: syntax error before '*' token
In file included from cryptlib.h:74,
from cryptlib.c:117:
../include/openssl/bio.h:562: error: syntax error before '*' token
../include/openssl/bio.h:639: error: syntax error before '*' token
../include/openssl/bio.h:640: error: syntax error before '*' token
In file included from ../include/openssl/err.h:74,
from cryptlib.h:75,
from cryptlib.c:117:
../include/openssl/lhash.h:185: error: syntax error before 'FILE'
../include/openssl/lhash.h:186: error: syntax error before 'FILE'
../include/openssl/lhash.h:187: error: syntax error before 'FILE'
In file included from cryptlib.h:75,
from cryptlib.c:117:
../include/openssl/err.h:87:19: error: errno.h: No such file or directory
In file included from cryptlib.h:75,
from cryptlib.c:117:
../include/openssl/err.h:279: error: syntax error before '*' token
cryptlib.c: In function 'CRYPTO_thread_id':
cryptlib.c:440: warning: implicit declaration of function 'getpid'
cryptlib.c: In function 'OPENSSL_cpuid_setup':
cryptlib.c:559: warning: implicit declaration of function 'getenv'
cryptlib.c:559: warning: assignment makes pointer from integer without a cast
cryptlib.c:560: warning: implicit declaration of function 'strtoul'
cryptlib.c: In function 'OPENSSL_showfatal':
cryptlib.c:754: warning: implicit declaration of function 'vfprintf'
cryptlib.c:754: error: 'stderr' undeclared (first use in this function)
cryptlib.c:754: error: (Each undeclared identifier is reported only once
cryptlib.c:754: error: for each function it appears in.)
cryptlib.c: In function 'OpenSSLDie':
cryptlib.c:765: warning: implicit declaration of function 'abort'
cryptlib.c:765: warning: incompatible implicit declaration of built-in function 'abort'
cryptlib.c: In function 'OPENSSL_stderr':
cryptlib.c:768: error: 'stderr' undeclared (first use in this function)
make[1]: *** [cryptlib.o] Error 1
make[1]: Leaving directory `/var/www/install_ispconfig/compile_aps/openssl-0.9.8/crypto'
make: *** [build_crypto] Error 1
ERROR: Could not make OpenSSL


Also the system date/time are all correct as well.

Kind Regards

Chris K

falko 10th February 2006 14:52

Quote:

Originally Posted by cksrealm
cryptlib.h:62:20: error: stdlib.h: No such file or directory
cryptlib.h:63:20: error: string.h: No such file or directory
In file included from cryptlib.h:65,
from cryptlib.c:117:
../e_os.h:392:30: error: unistd.h: No such file or directory
../e_os.h:397:29: error: sys/types.h: No such file or directory
../e_os.h:621:25: error: strings.h: No such file or directory
In file included from cryptlib.h:72,
from cryptlib.c:117:
../include/openssl/crypto.h:125:19: error: stdio.h: No such file or directory

You must install the libc6-dev package before you install ISPConfig:
Code:

apt-get install libc6-dev


All times are GMT +2. The time now is 06:42.

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