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)
-   -   Debian install error (http://www.howtoforge.com/forums/showthread.php?t=2087)

jf1976 16th January 2006 12:33

Debian install error
 
hi all,

i've followed the guide at http://www.howtoforge.com/perfect_setup_debian_sarge on a fresh install then followed the guide at http://www.ispconfig.org/manual_installation.htm but am unable to get ISP Config to complete its setup process.

i get the following errors in /var/log/ispconfig_install.log

Fri Jan 1 17:37:42 GMT 1988 - [ISPConfig] - installation directory: /tmp/install_ispconfig
Fri Jan 1 17:37:42 GMT 1988 - [ISPConfig] - operating system: Debian 3.1
Fri Jan 1 17:37:45 GMT 1988 - [ISPConfig] - Neuinstallation eines ISPConfig-Systems. / Installation of a new ISPConfig system. / Installation d'ISPConfig sur un nouveau système.
Fri Jan 1 17:37:49 GMT 1988 - [ISPConfig] - selected language: en
Fri Jan 1 17:37:54 GMT 1988 - [ISPConfig] - installation note accepted
Fri Jan 1 17:37:58 GMT 1988 - [ISPConfig] - licence accepted
Fri Jan 1 17:38:02 GMT 1988 - [ISPConfig] - installation mode: standard
Fri Jan 1 17:38:07 GMT 1988 - [ISPConfig] - mail: postfix
Fri Jan 1 17:38:07 GMT 1988 - [ISPConfig] - dist_mail=postfix ##
Fri Jan 1 17:38:07 GMT 1988 - [ISPConfig] - dist_mail_log=/var/log/mail.log ##
Fri Jan 1 17:38:07 GMT 1988 - [ISPConfig] - dist_mail_virtusertable=/etc/postfix/virtusertable ##
Fri Jan 1 17:38:07 GMT 1988 - [ISPConfig] - dist_mail_local_host_names=/etc/postfix/local-host-names ##
Fri Jan 1 17:38:17 GMT 1988 - [ISPConfig] - ftp: proftpd
Fri Jan 1 17:38:17 GMT 1988 - [ISPConfig] - dist_ftp=proftpd ##
Fri Jan 1 17:38:17 GMT 1988 - [ISPConfig] - dist_ftp_conf=/etc/proftpd.conf ##
Fri Jan 1 17:38:17 GMT 1988 - [ISPConfig] - dist_ftp_version=standalone ##
Fri Jan 1 17:38:17 GMT 1988 - [ISPConfig] - dist_ftp_log=/var/log/xferlog ##
Fri Jan 1 17:38:17 GMT 1988 - [ISPConfig] - procmail found: /usr/bin/procmail
Fri Jan 1 17:38:17 GMT 1988 - [ISPConfig] - quota found: /usr/bin/quota
Fri Jan 1 17:38:17 GMT 1988 - [ISPConfig] - mysql found: /usr/bin/mysql
Fri Jan 1 17:38:17 GMT 1988 - [ISPConfig] - openssl found: /usr/bin/openssl
Fri Jan 1 17:38:17 GMT 1988 - [ISPConfig] - named found: /usr/sbin/named
Fri Jan 1 17:38:17 GMT 1988 - [ISPConfig] - iptables found: /sbin/iptables
Fri Jan 1 17:38:18 GMT 1988 - [ISPConfig] - httpd found: /usr/bin/httpd
Fri Jan 1 17:38:18 GMT 1988 - [ISPConfig] - httpd syntax ok!
Fri Jan 1 17:38:18 GMT 1988 - [ISPConfig] - dist_path_httpd_root=/home/www ##
Fri Jan 1 17:38:22 GMT 1988 - [ISPConfig] - Directory /var/www/sharedip created.
Fri Jan 1 17:38:22 GMT 1988 - [ISPConfig] - Use sharedip_index.html_en as SharedIP default page.
Fri Jan 1 17:38:41 GMT 1988 - [ISPConfig] - WARNING: could not unpack ISPConfig system
Fri Jan 1 17:38:41 GMT 1988 - [ISPConfig] - ERROR: The PHP binary coming with ISPConfig does not work properly on your system! The installation routine stops here!

i am unsure how to continue with the installation and i have been unable to find a solution in the locations i have searched, please could someone help me fix this.

thanks in advanced.

till 16th January 2006 13:15

There must be some errors during the compililation of the PHP binaries. Please post these errors here.

If you want to run the setup script again, please delete:

rm -rf /root/ispconfig
rm -rf /home/admispconfig

and the install_ispconfig directory, unpack the ispconfig tar.gz file again and run the setup script.

jf1976 16th January 2006 15:39

this is what i get on screen
 
Operating system: i686-whatever-linux2
Configuring for linux-elf
Configuring for linux-elf
no-gmp [default] OPENSSL_NO_GMP (skip dir)
no-krb5 [krb5-flavor not specified] OPENSSL_NO_KRB5
no-mdc2 [default] OPENSSL_NO_MDC2 (skip dir)
no-rc5 [default] OPENSSL_NO_RC5 (skip dir)
no-shared [default]
no-zlib [default]
no-zlib-dynamic [default]
IsMK1MF=0
CC =gcc
CFLAG =-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
EX_LIBS =-ldl
CPUID_OBJ =x86cpuid-elf.o
BN_ASM =bn86-elf.o co86-elf.o
DES_ENC =dx86-elf.o yx86-elf.o
AES_ASM_OBJ =ax86-elf.o
BF_ENC =bx86-elf.o
CAST_ENC =cx86-elf.o
RC4_ENC =rx86-elf.o
RC5_ENC =r586-elf.o
MD5_OBJ_ASM =mx86-elf.o
SHA1_OBJ_ASM =sx86-elf.o s512sse2-elf.o
RMD160_OBJ_ASM=rm86-elf.o
PROCESSOR =
RANLIB =/usr/bin/ranlib
ARFLAGS =
PERL =/usr/bin/perl
THIRTY_TWO_BIT mode
DES_PTR used
DES_RISC1 used
DES_UNROLL used
BN_LLONG mode
RC4_INDEX mode
RC4_CHUNK is undefined
make: Warning: File `Makefile.org' has modification time 5.5e+08 s in the future
Makefile is older than Makefile.org, Configure or config.
Reconfigure the source tree (via './config' or 'perl Configure'), please.
make: *** [Makefile] Error 1
make: Warning: File `Makefile.org' has modification time 5.5e+08 s in the future
Makefile is older than Makefile.org, Configure or config.
Reconfigure the source tree (via './config' or 'perl Configure'), please.
make: *** [Makefile] Error 1
ERROR: Could not make OpenSSL
cd: could not get current directory: getcwd: cannot access parent directories: No such file or directory
cd: could not get current directory: getcwd: cannot access parent directories: No such file or directory
job-working-directory: could not get current directory: getcwd: cannot access parent directories: No such file or directory
mv: cannot stat `binaries/aps.tar.gz': No such file or directory
job-working-directory: could not get current directory: getcwd: cannot access parent directories: No such file or directory
mv: cannot stat `binaries/spamassassin.tar.gz': No such file or directory
job-working-directory: could not get current directory: getcwd: cannot access parent directories: No such file or directory
mv: cannot stat `binaries/uudeview.tar.gz': No such file or directory
job-working-directory: could not get current directory: getcwd: cannot access parent directories: 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
job-working-directory: could not get current directory: getcwd: cannot access parent directories: No such file or directory
mv: cannot stat `binaries/cronosplit': No such file or directory
job-working-directory: could not get current directory: getcwd: cannot access parent directories: No such file or directory
mv: cannot stat `binaries/ispconfig_tcpserver': No such file or directory
job-working-directory: could not get current directory: getcwd: cannot access parent directories: No such file or directory
mv: cannot stat `binaries/zip': No such file or directory
job-working-directory: could not get current directory: getcwd: cannot access parent directories: No such file or directory
mv: cannot stat `binaries/unzip'job-working-directory: could not get current directory: getcwd: cannot access parent directories: No such file or directory
: No such file or directory
tar: spamassassin.tar.gz: Cannot openjob-working-directory: could not get current directory: getcwd: cannot access parent directories: No such file or directory
: No such file or directory
tar: Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error exit delayed from previous errors
job-working-directory: could not get current directory: getcwd: cannot access parent directories: No such file or directory
mv: cannot stat `spamassassin': No such file or directory
job-working-directory: could not get current directory: getcwd: cannot access parent directories: 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
job-working-directory: could not get current directory: getcwd: cannot access parent directories: 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
job-working-directory: could not get current directory: getcwd: cannot access parent directories: No such file or directory
mv: cannot stat `clamav': No such file or directory
job-working-directory: could not get current directory: getcwd: cannot access parent directories: No such file or directory
tar: aps.tar.gz: Cannot openjob-working-directory: could not get current directory: getcwd: cannot access parent directories: No such file or directory
: 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 771: ispconfig_tmp/php/bin/php: No such file or directory
job-working-directory: could not get current directory: getcwd: cannot access parent directories: No such file or directory
ERROR: The PHP binary coming with ISPConfig does not work properly on your system! The installation routine stops here!
job-working-directory: could not get current directory: getcwd: cannot access parent directories: No such file or directory

and the two locations you ref to are not created!

jf1976 16th January 2006 16:22

i have also tried

./setup --with-ssl=/usr/bin/openssl

to corrert the OpenSSL error but i still get errors

Operating system: i686-whatever-linux2
Configuring for linux-elf
Configuring for linux-elf
no-gmp [default] OPENSSL_NO_GMP (skip dir)
no-krb5 [krb5-flavor not specified] OPENSSL_NO_KRB5
no-mdc2 [default] OPENSSL_NO_MDC2 (skip dir)
no-rc5 [default] OPENSSL_NO_RC5 (skip dir)
no-shared [default]
no-zlib [default]
no-zlib-dynamic [default]
IsMK1MF=0
CC =gcc
CFLAG =-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
EX_LIBS =-ldl
CPUID_OBJ =x86cpuid-elf.o
BN_ASM =bn86-elf.o co86-elf.o
DES_ENC =dx86-elf.o yx86-elf.o
AES_ASM_OBJ =ax86-elf.o
BF_ENC =bx86-elf.o
CAST_ENC =cx86-elf.o
RC4_ENC =rx86-elf.o
RC5_ENC =r586-elf.o
MD5_OBJ_ASM =mx86-elf.o
SHA1_OBJ_ASM =sx86-elf.o s512sse2-elf.o
RMD160_OBJ_ASM=rm86-elf.o
PROCESSOR =
RANLIB =/usr/bin/ranlib
ARFLAGS =
PERL =/usr/bin/perl
THIRTY_TWO_BIT mode
DES_PTR used
DES_RISC1 used
DES_UNROLL used
BN_LLONG mode
RC4_INDEX mode
RC4_CHUNK is undefined
make: Warning: File `Makefile.org' has modification time 5.5e+08 s in the future
Makefile is older than Makefile.org, Configure or config.
Reconfigure the source tree (via './config' or 'perl Configure'), please.
make: *** [Makefile] Error 1
make: Warning: File `Makefile.org' has modification time 5.5e+08 s in the future
Makefile is older than Makefile.org, Configure or config.
Reconfigure the source tree (via './config' or 'perl Configure'), please.
make: *** [Makefile] Error 1
ERROR: Could not make OpenSSL
cd: could not get current directory: getcwd: cannot access parent directories: No such file or directory
cd: could not get current directory: getcwd: cannot access parent directories: No such file or directory
job-working-directory: could not get current directory: getcwd: cannot access parent directories: No such file or directory
mv: cannot stat `binaries/aps.tar.gz': No such file or directory
job-working-directory: could not get current directory: getcwd: cannot access parent directories: No such file or directory
mv: cannot stat `binaries/spamassassin.tar.gz': No such file or directory
job-working-directory: could not get current directory: getcwd: cannot access parent directories: No such file or directory
mv: cannot stat `binaries/uudeview.tar.gz': No such file or directory
job-working-directory: could not get current directory: getcwd: cannot access parent directories: 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
job-working-directory: could not get current directory: getcwd: cannot access parent directories: No such file or directory
mv: cannot stat `binaries/cronosplit': No such file or directory
job-working-directory: could not get current directory: getcwd: cannot access parent directories: No such file or directory
mv: cannot stat `binaries/ispconfig_tcpserver': No such file or directory
job-working-directory: could not get current directory: getcwd: cannot access parent directories: No such file or directory
mv: cannot stat `binaries/zip': No such file or directory
job-working-directory: could not get current directory: getcwd: cannot access parent directories: No such file or directory
mv: cannot stat `binaries/unzip'job-working-directory: could not get current directory: getcwd: cannot access parent directories: No such file or directory
: No such file or directory
tar: spamassassin.tar.gz: Cannot openjob-working-directory: could not get current directory: getcwd: cannot access parent directories: No such file or directory
: No such file or directory
tar: Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error exit delayed from previous errors
job-working-directory: could not get current directory: getcwd: cannot access parent directories: No such file or directory
mv: cannot stat `spamassassin': No such file or directory
job-working-directory: could not get current directory: getcwd: cannot access parent directories: 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
job-working-directory: could not get current directory: getcwd: cannot access parent directories: 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
job-working-directory: could not get current directory: getcwd: cannot access parent directories: No such file or directory
mv: cannot stat `clamav': No such file or directory
job-working-directory: could not get current directory: getcwd: cannot access parent directories: No such file or directory
tar: aps.tar.gz: Cannot openjob-working-directory: could not get current directory: getcwd: cannot access parent directories: No such file or directory
: 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 771: ispconfig_tmp/php/bin/php: No such file or directory
job-working-directory: could not get current directory: getcwd: cannot access parent directories: No such file or directory
ERROR: The PHP binary coming with ISPConfig does not work properly on your system! The installation routine stops here!
job-working-directory: could not get current directory: getcwd: cannot access parent directories: No such file or directory

till 16th January 2006 18:33

Quote:

Originally Posted by jf1976

./setup --with-ssl=/usr/bin/openssl

The setup script does not support parameters.

The problem you encounter is that the date and time on your server are incorrect (in the future).

Set date and time to correct values, delete the directories from the broken install and run setup again.

falko 16th January 2006 20:17

To update your system time, run this command:
Code:

/usr/sbin/rdate 128.2.136.71

jf1976 17th January 2006 16:25

setting the time & date worked
 
thanks for the advice, the install went great after correcting the time & date.

Q). How do you get diffrent virtual hosts on diffrent ip's ?

thanks

till 17th January 2006 17:25

Add additional IP addresses in ISPConfig under management > server > settings in the additional IP's field. One IP per line.

Then you can select these IP#s when you create a new website.

jf1976 17th January 2006 20:30

thanks
 
thanks thats great, but i seam to have got an error now

Quote:

The name main.xxxxx.xxxxx-xxx.xxx is already in use by another site or domain.
but i have delete the site and removed the trash? how do i clear the cache or what do i need to do.

thanks again

----EDIT

Fixed... logout login?

things are working a bit better now thanks.

i now have:

sample.DNYDNS.DOMAIN.NET
sample2.DNYDNS.DOMAIN.NET

last question

when i goto DNYDNS.DOMAIN.NET it always goes to SAMPLE.DNYDNS.DOMAIN.NET not the default doc root? how can i stop this? as i want the host as the main site and the other 2 as diffrent sites.

thanks

till 17th January 2006 21:20

Quote:

Originally Posted by jf1976
when i goto DNYDNS.DOMAIN.NET it always goes to SAMPLE.DNYDNS.DOMAIN.NET not the default doc root? how can i stop this? as i want the host as the main site and the other 2 as diffrent sites.

Can you please explain this a bit more.

Have you created awebsite DNYDNS.DOMAIN.NET and SAMPLE.DNYDNS.DOMAIN.NET in ISPConfig? What do you mean with default doc root. /var/www or the web directory of a ISPConfig website?


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

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