PDA

View Full Version : Error during installation



bigmen
04-05-2010, 01:09 AM
Hello!
I have problem with install Direct Admin. My OS: Debian 4.0


make[2]: *** [xmllint] Error 1
make[2]: Leaving directory `/usr/local/directadmin/custombuild/libxml2-2.7.7'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/directadmin/custombuild/libxml2-2.7.7'
make: *** [all] Error 2
./install.sh: line 201: ./directadmin: cannot execute binary file
./install.sh: line 204: ./directadmin: cannot execute binary file
*******************************************
*******************************************

Cannot find /usr/local/bin/php
Please recompile php with custombuild, eg:
cd /usr/local/directadmin/custombuild
./build all d

*******************************************
*******************************************

Please help me :)

floyd
04-05-2010, 03:52 AM
Install again.

bigmen
04-05-2010, 04:14 AM
Always i have this errors :(.

defomaz
04-05-2010, 07:59 AM
i get same error today when install DA on centos 5, how to fix this?

defomaz
04-05-2010, 12:01 PM
hello <ding>, please help :)

rogerdavis
04-05-2010, 01:03 PM
centos 5.4


I have just installed and I also have

cannot find file: /usr/local/bin/php

and also

/etc/init.d/dovecot
and If I first notice when trying to install zend and it could not find php.

Installing a second server at the mo to see what errors that one may give me ?

rogerdavis
04-05-2010, 02:31 PM
This is a big problem as on all centos installs we have as below, its

you should now visit http://admin.site-helper.com and http://www.directadmin.com/newinstall.html to learn how to get started.

Thank you for using DirectAdmin. Should you have any questions, don't hesitate to contact us at support@directadmin.com

## REPORT_END
Permissions set
*******************************************
*******************************************

Cannot find /usr/local/bin/php
Please recompile php with custombuild, eg:
cd /usr/local/directadmin/custombuild
./build all d

*******************************************
*******************************************
[root@server ~]#

rogerdavis
04-05-2010, 03:11 PM
No install on new machines centos 5.4, it looks like it could be a openssl problem but also tried yum downgrade openssl and still no go but on second machine its stopping on
.......................................................
make[1]: Leaving directory `/usr/local/directadmin/custombuild/httpd-2.2.15'
Restoring certificate and key, and turning on httpd for DirectAdmins's check.
Restarting apache.
Stopping httpd: [ OK ]
Starting httpd:
File already exists: jpegsrc.v6b.tar.gz

gzip: stdin: unexpected end of file
tar: Child returned status 1
tar: Error exit delayed from previous errors
./build: line 5732: cd: jpeg-6b: No such file or directory
./build: line 5734: ./configure: is a directory
Trying to make libjpeg...
make: *** No rule to make target `libjpeg.a'. Stop.

........................................................................

First one stops with

....................................................................................
checking whether to enable mod_proxy_balancer... yes (default)
adding "-I$(top_srcdir)/modules/proxy/../generators" to INCLUDES
checking whether to enable mod_ssl... checking dependencies
checking for SSL/TLS toolkit base... /usr
adding "-I/usr/include" to CPPFLAGS
adding "-I/usr/include" to INCLUDES
adding "-L/usr/lib" to LDFLAGS
checking for OpenSSL version... checking openssl/opensslv.h usability... no
checking openssl/opensslv.h presence... no
checking for openssl/opensslv.h... no
checking openssl/ssl.h usability... no
checking openssl/ssl.h presence... no
checking for openssl/ssl.h... no
no OpenSSL headers found
checking for SSL-C version... checking sslc.h usability... no
checking sslc.h presence... no
checking for sslc.h... no
no SSL-C headers found
configure: error: ...No recognized SSL/TLS toolkit detected



*** There was an error while trying to configure Apache 2. Check the configure/ap2/configure.apache file

.......................................................................................

is it the install script or have we a server down some place as even the

cd /usr/local/directadmin/custombuild
./build all d

will not fix things.........

defomaz
04-05-2010, 07:29 PM
this errror every compile libxml2 from custombuild


./.libs/libxml2.so: undefined reference to `gzopen64'
collect2: ld returned 1 exit status
make[2]: *** [xmllint] Error 1
make[2]: Leaving directory `/usr/local/directadmin/custombuild/libxml2-2.7.7'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/directadmin/custombuild/libxml2-2.7.7'
make: *** [all] Error 2

*** The make has failed, do you want to try to make again? (y,n):



anyone have solution?

DirectAdmin Support
04-05-2010, 10:58 PM
Hello,

1) Thanks for the report. I've downgraded libxml2 to 2.7.6 until more information is found on the cause of the error. Type:
cd /usr/local/directadmin/custombuild
./build update
./build all d


2)
File already exists: jpegsrc.v6b.tar.gz

gzip: stdin: unexpected end of file
tar: Child returned status 1
tar: Error exit delayed from previous errorsit appears a though the file is empty. Try deleting it and building again, eg:
ls -la jpegsrc.v6b.tar.gz
rm -f jpegsrc.v6b.tar.gz
./build libjpeg


3) Regarding:
./install.sh: line 201: ./directadmin: cannot execute binary file
./install.sh: line 204: ./directadmin: cannot execute binary fileplease see:
http://help.directadmin.com/item.php?id=267

John

mridul
04-05-2010, 11:07 PM
I get the following during install... Any idea ?



./.libs/libxml2.so -ldl -lz -liconv -lm
./.libs/libxml2.so: undefined reference to `gzopen64'
collect2: ld returned 1 exit status
make[2]: *** [xmllint] Error 1
make[2]: Leaving directory `/usr/local/directadmin/custombuild/libxml2-2.7.7'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/directadmin/custombuild/libxml2-2.7.7'
make: *** [all] Error 2

DirectAdmin Support
04-05-2010, 11:12 PM
Hello,

see point 1) of my last post.

John

rogerdavis
04-06-2010, 12:51 AM
tool: link: ar cru .libs/testdso.a testdso.o
libtool: link: ranlib .libs/testdso.a
libtool: link: ( cd ".libs" && rm -f "testdso.la" && ln -s "../testdso.la" "testdso.la" )
gcc -DHAVE_CONFIG_H -I. -I./include -I./include -D_REENTRANT -g -O2 -pedantic -W -Wformat -Wunused -Wimplicit -Wreturn-type -Wswitch -Wcomment -Wtrigraphs -Wformat -Wchar-subscripts -Wuninitialized -Wparentheses -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline -Wredundant-decls -MT xmllint.o -MD -MP -MF .deps/xmllint.Tpo -c -o xmllint.o xmllint.c
mv -f .deps/xmllint.Tpo .deps/xmllint.Po
/bin/sh ./libtool --tag=CC --mode=link gcc -g -O2 -pedantic -W -Wformat -Wunused -Wimplicit -Wreturn-type -Wswitch -Wcomment -Wtrigraphs -Wformat -Wchar-subscripts -Wuninitialized -Wparentheses -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline -Wredundant-decls -o xmllint xmllint.o ./libxml2.la -lz -liconv -lm
libtool: link: gcc -g -O2 -pedantic -W -Wformat -Wunused -Wimplicit -Wreturn-type -Wswitch -Wcomment -Wtrigraphs -Wformat -Wchar-subscripts -Wuninitialized -Wparentheses -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline -Wredundant-decls -o .libs/xmllint xmllint.o ./.libs/libxml2.so -ldl -lz -liconv -lm
./.libs/libxml2.so: undefined reference to `gzopen64'
collect2: ld returned 1 exit status
make[2]: *** [xmllint] Error 1
make[2]: Leaving directory `/usr/local/directadmin/custombuild/libxml2-2.7.6'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/directadmin/custombuild/libxml2-2.7.6'
make: *** [all] Error 2
[root@server custombuild]# t]
-bash: t]: command not found

install still US ... never had this before on 3 servers I am trying to reload its been over 8 hours just trying to load A DA cp panel ... never had this before its got to be a bad update or a Centos cock up although there is a lot of CP panels with problems over the last couple of weeks..........

mridul
04-06-2010, 12:55 AM
Still the same issue

./.libs/libxml2.so: undefined reference to `gzopen64'
collect2: ld returned 1 exit status
make[2]: *** [xmllint] Error 1
make[2]: Leaving directory `/usr/local/directadmin/custombuild/libxml2-2.7.6'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/directadmin/custombuild/libxml2-2.7.6'
make: *** [all] Error 2

bigmen
04-06-2010, 12:58 AM
Yes, i have the same error, after ./build update and ./build all d

sayfanet
04-06-2010, 02:45 AM
same problem for me.

centos 5.4 32bit, libxml2 error

libtool: link: gcc -g -O2 -pedantic -W -Wformat -Wunused -Wimplicit -Wreturn-type -Wswitch -Wcomment -Wtrigraphs -Wformat -Wchar-subscripts -Wuninitialized -Wparentheses -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline -Wredundant-decls -o .libs/xmllint xmllint.o ./.libs/libxml2.so -ldl -lz -liconv -lm
./.libs/libxml2.so: undefined reference to `gzopen64'
collect2: ld returned 1 exit status
make[2]: *** [xmllint] Error 1
make[2]: Leaving directory `/usr/local/directadmin/custombuild/libxml2-2.7.6'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/directadmin/custombuild/libxml2-2.7.6'
make: *** [all] Error 2
## REPORT_START
Welcome to DirectAdmin verion 1.35.1!
You are now about to run the install program. If DirectAdmin is already
installed, it may destroy previous data.

defomaz
04-06-2010, 04:01 AM
still error
./build libxml2


dundant-decls -o .libs/xmllint xmllint.o ./.libs/libxml2.so -ldl -lz -liconv -lm
./.libs/libxml2.so: undefined reference to `gzopen64'
collect2: ld returned 1 exit status
make[2]: *** [xmllint] Error 1
make[2]: Leaving directory `/usr/local/directadmin/custombuild/libxml2-2.7.6'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/directadmin/custombuild/libxml2-2.7.6'
make: *** [all] Error 2

*** The make has failed, do you want to try to make again? (y,n):

Wynand
04-06-2010, 08:57 AM
Cool. Same problem. Same day. :)


/bin/sh ./libtool --tag=CC --mode=link gcc -g -O2 -pedantic -W -Wformat -Wunused -Wimplicit -Wreturn-type -Wswitch -Wcomment -Wtrigraphs -Wformat -Wchar-subscripts -Wuninitialized -Wparentheses -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline -Wredundant-decls -o xmllint xmllint.o ./libxml2.la -lz -liconv -lm
libtool: link: gcc -g -O2 -pedantic -W -Wformat -Wunused -Wimplicit -Wreturn-type -Wswitch -Wcomment -Wtrigraphs -Wformat -Wchar-subscripts -Wuninitialized -Wparentheses -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline -Wredundant-decls -o .libs/xmllint xmllint.o ./.libs/libxml2.so -ldl -lz /usr/local/lib/libiconv.so -lm
./.libs/libxml2.so: undefined reference to `gzopen64'
collect2: ld returned 1 exit status
make[2]: *** [xmllint] Error 1
make[2]: Leaving directory `/usr/local/directadmin/custombuild/libxml2-2.7.6'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/directadmin/custombuild/libxml2-2.7.6'
make: *** [all] Error 2


A little hand DA?

defomaz
04-06-2010, 08:59 AM
hellow... any update? :)

DirectAdmin Support
04-06-2010, 09:35 AM
Hello,

After more investigating, I've determined the true cause not to be with libxml2, but rather zlib. Downgrading to 1.2.3 from 1.2.4 will solve the libxml2 compile issue, as found with our older CentOS 4 build system.
./build update
./build zlib
./build libxml2

#once confirmed libxml2 compiles:
./build all dJohn

bigmen
04-06-2010, 10:30 AM
Now it's working! Thanks a lot for help.

defomaz
04-06-2010, 10:32 AM
it's done and no error. thanks for an update

kenblueswell76
04-06-2010, 09:03 PM
hey John, it works now thanks

mridul
04-07-2010, 07:04 AM
It works now.

There is something in build now -


./build: line 2391: service: command not found

This is centos 5, so I started exim normally.

cuongvttt
12-22-2010, 11:41 PM
I have same issue.

I have changes dns server that worked OK.

Then i setup again. It works OKKKKKKKKKKKKKKKKKKKKKKKKKKK


Please give it a try yourself now