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)
-   -   Please Help. with install on ubuntu (http://www.howtoforge.com/forums/showthread.php?t=12917)

alpha-z 24th May 2007 23:51

Please Help. with install on ubuntu
 
Hi i've been trying to install ISPConfig on the newest version of Ubunto Server, and i've ran into a few problems but i've gotten past them now, but i've now hit a road block. like no matter what i do it keeps giving me the error, i've tried deleting all those directory at /root and /home.

still giving me error. heres the log.
Thanks for any help anyone can give

25_spf.cf 25_textcat.cf 25_uribl.cf 30_text_de.cf 30_text_fr.cf 30_text_it.cf 30_text_nl.cf 30_text_pl.cf 30_text_pt_br.cf 50_scores.cf 60_awl.cf 60_shortcircuit.cf 60_whitelist.cf 60_whitelist_dk.cf 60_whitelist_dkim.cf 60_whitelist_spf.cf 60_whitelist_subject.cf 72_active.cf user_prefs.template languages sa-update-pubkey.txt
chmod 755 /home/admispconfig/ispconfig/tools/spamassassin/usr/share/spamassassin
creating cache ./config.cache
checking for gcc... gcc
checking whether the C compiler (gcc ) works... yes
checking whether the C compiler (gcc ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking how to run the C preprocessor... gcc -E
checking if the compiler supports function prototypes... yes
checking whether make sets ${MAKE}... yes
checking for ranlib... ranlib
checking whether ln -s works... yes
checking for tclConfig.sh... not found
configure: warning: Tcl parts disabled
configure: warning: use --enable-tcl to locate tclConfig.sh
checking for sin... no
checking for connect... yes
checking for gethostbyname... yes
checking for sendmail... /usr/sbin/sendmail
checking for inews... no
checking for news server... not found
checking for hostname... /bin/hostname
checking domain name... saturn
centra.ca
checking directory separator... /
checking for ANSI C header files... no
checking for size_t... yes
checking for ANSI C header files... (cached) no
checking whether time.h and sys/time.h may both be included... no
checking for fcntl.h... yes
checking for unistd.h... yes
checking for memory.h... yes
checking for malloc.h... yes
checking for errno.h... yes
checking for direct.h... no
checking for io.h... no
checking for sys/time.h... yes
checking for getcwd... no
checking for popen... no
checking for gettimeofday... no
checking for isatty... no
checking for tempnam... no
checking for strerror... no
checking for stdin... no
checking for stdarg.h... yes
checking for varargs.h... no
checking for pwd.h... yes
checking version number... 0.5pl20
updating cache ./config.cache
creating ./config.status
creating Makefile
creating tcl/Makefile
creating unix/Makefile
creating uulib/Makefile
creating config.h
(cd unix; rm -f config.h ; ln -s ../config.h config.h)
(cd uulib; rm -f config.h ; ln -s ../config.h config.h)
(cd uulib ; make)
make[1]: Entering directory `/tmp/install_ispconfig/compile_aps/uudeview-0.5.20/uulib'
gcc -c -g -O2 -I. -DHAVE_CONFIG_H -DVERSION=\"0.5\" -DPATCH=\"20\" uulib.c
In file included from uulib.c:81:
./fptools.h:54: error: conflicting types for ‚_FP_tempnam‚
/usr/include/stdio.h:202: error: previous declaration of ‚_FP_tempnam‚ was here
uulib.c: In function ‚UUMessage‚:
uulib.c:288: warning: incompatible implicit declaration of built-in function ‚strlen‚
uulib.c:292: warning: incompatible implicit declaration of built-in function ‚strlen‚
uulib.c: In function ‚UUInitialize‚:
uulib.c:373: warning: incompatible implicit declaration of built-in function ‚memset‚
uulib.c:390: warning: incompatible implicit declaration of built-in function ‚malloc‚
uulib.c: In function ‚UUGetOption‚:
uulib.c:467: warning: incompatible implicit declaration of built-in function ‚memcpy‚
uulib.c: In function ‚UULoadFileWithPartNo‚:
uulib.c:692: warning: incompatible implicit declaration of built-in function ‚malloc‚
uulib.c:698: warning: incompatible implicit declaration of built-in function ‚strlen‚
uulib.c:714: warning: incompatible implicit declaration of built-in function ‚strlen‚
uulib.c: In function ‚UUDecodeFile‚:
uulib.c:929: warning: incompatible implicit declaration of built-in function ‚strcpy‚
uulib.c:960: warning: incompatible implicit declaration of built-in function ‚strlen‚
uulib.c: In function ‚UUCleanUp‚:
uulib.c:1253: warning: incompatible implicit declaration of built-in function ‚memset‚
make[1]: *** [uulib.o] Error 1
make[1]: Leaving directory `/tmp/install_ispconfig/compile_aps/uudeview-0.5.20/uulib'
make: *** [libuu.a] Error 2
ERROR: Could not make UUDeview
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 873: 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!

lyndros 25th May 2007 04:01

Quote:

Originally Posted by alpha-z
Hi i've been trying to install ISPConfig on the newest version of Ubunto Server, and i've ran into a few problems but i've gotten past them now, but i've now hit a road block. like no matter what i do it keeps giving me the error, i've tried deleting all those directory at /root and /home.

still giving me error. heres the log.
Thanks for any help anyone can give

25_spf.cf 25_textcat.cf 25_uribl.cf 30_text_de.cf 30_text_fr.cf 30_text_it.cf 30_text_nl.cf 30_text_pl.cf 30_text_pt_br.cf 50_scores.cf 60_awl.cf 60_shortcircuit.cf 60_whitelist.cf 60_whitelist_dk.cf 60_whitelist_dkim.cf 60_whitelist_spf.cf 60_whitelist_subject.cf 72_active.cf user_prefs.template languages sa-update-pubkey.txt
chmod 755 /home/admispconfig/ispconfig/tools/spamassassin/usr/share/spamassassin
creating cache ./config.cache
checking for gcc... gcc
checking whether the C compiler (gcc ) works... yes
checking whether the C compiler (gcc ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking how to run the C preprocessor... gcc -E
checking if the compiler supports function prototypes... yes
checking whether make sets ${MAKE}... yes
checking for ranlib... ranlib
checking whether ln -s works... yes
checking for tclConfig.sh... not found
configure: warning: Tcl parts disabled
configure: warning: use --enable-tcl to locate tclConfig.sh
checking for sin... no
checking for connect... yes
checking for gethostbyname... yes
checking for sendmail... /usr/sbin/sendmail
checking for inews... no
checking for news server... not found
checking for hostname... /bin/hostname
checking domain name... saturn
centra.ca
checking directory separator... /
checking for ANSI C header files... no
checking for size_t... yes
checking for ANSI C header files... (cached) no
checking whether time.h and sys/time.h may both be included... no
checking for fcntl.h... yes
checking for unistd.h... yes
checking for memory.h... yes
checking for malloc.h... yes
checking for errno.h... yes
checking for direct.h... no
checking for io.h... no
checking for sys/time.h... yes
checking for getcwd... no
checking for popen... no
checking for gettimeofday... no
checking for isatty... no
checking for tempnam... no
checking for strerror... no
checking for stdin... no
checking for stdarg.h... yes
checking for varargs.h... no
checking for pwd.h... yes
checking version number... 0.5pl20
updating cache ./config.cache
creating ./config.status
creating Makefile
creating tcl/Makefile
creating unix/Makefile
creating uulib/Makefile
creating config.h
(cd unix; rm -f config.h ; ln -s ../config.h config.h)
(cd uulib; rm -f config.h ; ln -s ../config.h config.h)
(cd uulib ; make)
make[1]: Entering directory `/tmp/install_ispconfig/compile_aps/uudeview-0.5.20/uulib'
gcc -c -g -O2 -I. -DHAVE_CONFIG_H -DVERSION=\"0.5\" -DPATCH=\"20\" uulib.c
In file included from uulib.c:81:
./fptools.h:54: error: conflicting types for ‚_FP_tempnam‚
/usr/include/stdio.h:202: error: previous declaration of ‚_FP_tempnam‚ was here
uulib.c: In function ‚UUMessage‚:
uulib.c:288: warning: incompatible implicit declaration of built-in function ‚strlen‚
uulib.c:292: warning: incompatible implicit declaration of built-in function ‚strlen‚
uulib.c: In function ‚UUInitialize‚:
uulib.c:373: warning: incompatible implicit declaration of built-in function ‚memset‚
uulib.c:390: warning: incompatible implicit declaration of built-in function ‚malloc‚
uulib.c: In function ‚UUGetOption‚:
uulib.c:467: warning: incompatible implicit declaration of built-in function ‚memcpy‚
uulib.c: In function ‚UULoadFileWithPartNo‚:
uulib.c:692: warning: incompatible implicit declaration of built-in function ‚malloc‚
uulib.c:698: warning: incompatible implicit declaration of built-in function ‚strlen‚
uulib.c:714: warning: incompatible implicit declaration of built-in function ‚strlen‚
uulib.c: In function ‚UUDecodeFile‚:
uulib.c:929: warning: incompatible implicit declaration of built-in function ‚strcpy‚
uulib.c:960: warning: incompatible implicit declaration of built-in function ‚strlen‚
uulib.c: In function ‚UUCleanUp‚:
uulib.c:1253: warning: incompatible implicit declaration of built-in function ‚memset‚
make[1]: *** [uulib.o] Error 1
make[1]: Leaving directory `/tmp/install_ispconfig/compile_aps/uudeview-0.5.20/uulib'
make: *** [libuu.a] Error 2
ERROR: Could not make UUDeview
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 873: 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!

the files that comes with ispconfig could be extracted so cannot move... and copy several files that are needed in ispconfig installation, i suggest u to check that u have enough disk space,u are root...

a few days ago i had, this problem and it was disk space...

:)

alpha-z 25th May 2007 04:28

Thanks for the suggestion.
i checked the disk space and i have 22 gigs free..
so i don't think thats the problem.

i think it has something to do with this bit:
creating config.h
(cd unix; rm -f config.h ; ln -s ../config.h config.h)
(cd uulib; rm -f config.h ; ln -s ../config.h config.h)
(cd uulib ; make)
make[1]: Entering directory `/tmp/install_ispconfig/compile_aps/uudeview-0.5.20/uulib'
gcc -c -g -O2 -I. -DHAVE_CONFIG_H -DVERSION=\"0.5\" -DPATCH=\"20\" uulib.c
In file included from uulib.c:81:
./fptools.h:54: error: conflicting types for ‚_FP_tempnam‚
/usr/include/stdio.h:202: error: previous declaration of ‚_FP_tempnam‚ was here
uulib.c: In function ‚UUMessage‚:
uulib.c:288: warning: incompatible implicit declaration of built-in function ‚strlen‚
uulib.c:292: warning: incompatible implicit declaration of built-in function ‚strlen‚
uulib.c: In function ‚UUInitialize‚:
uulib.c:373: warning: incompatible implicit declaration of built-in function ‚memset‚
uulib.c:390: warning: incompatible implicit declaration of built-in function ‚malloc‚
uulib.c: In function ‚UUGetOption‚:
uulib.c:467: warning: incompatible implicit declaration of built-in function ‚memcpy‚
uulib.c: In function ‚UULoadFileWithPartNo‚:
uulib.c:692: warning: incompatible implicit declaration of built-in function ‚malloc‚
uulib.c:698: warning: incompatible implicit declaration of built-in function ‚strlen‚
uulib.c:714: warning: incompatible implicit declaration of built-in function ‚strlen‚
uulib.c: In function ‚UUDecodeFile‚:
uulib.c:929: warning: incompatible implicit declaration of built-in function ‚strcpy‚
uulib.c:960: warning: incompatible implicit declaration of built-in function ‚strlen‚
uulib.c: In function ‚UUCleanUp‚:
uulib.c:1253: warning: incompatible implicit declaration of built-in function ‚memset‚
make[1]: *** [uulib.o] Error 1
make[1]: Leaving directory `/tmp/install_ispconfig/compile_aps/uudeview-0.5.20/uulib'
make: *** [libuu.a] Error 2
ERROR: Could not make UUDeview
cd: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory

something about UUDeview cannot make... i'm not sure how to fix that
i saw some people do something like libxorg-x11-dev, but ubuntu doesn't have that i just installed xorg-x11-dev...
didnt work.. i'm really stumped.

till 25th May 2007 15:00

ISPConfig compiles fine on Ubuntu without any modifications. Please have a look at the perfect setup guides, especially if you changed the default shell link:

rm -f /bin/sh
ln -s /bin/bash /bin/sh

alpha-z 27th May 2007 05:18

Ok well i went throw the feisty fawn perfect setup guide, it still fails. at that exact spot, i did the exact steps mentionned in the guide. still gives stupid errors at uudeview/uulib.. i dont know what to do anymore. i tried installing uudeview manually and that worked.. then tried ispconfig again and it fails.

till 27th May 2007 10:49

Please post the output of:

df -h

fchevitarese 8th October 2007 21:07

same problem (SOLVED)
 
Hello all.... I had the same problem above.
But, i have noted that the isp installation removed all the things in the folder install_ispconfig.
Then, i began to search, how and why the installation script removed all the files in the folder!!!

Before the last line of the script, i've found the command to delete all those files.
Then, i coment that $%#%$#% and after this, i can install this %$#%$# without errors!!!

That's it !! :) :D

till 8th October 2007 21:16

The installation script must remove this folder. That the installation worked in your case after you removed the line was just luck, as if you would run the install script more then once, the installation will fail if the folder is not removed.

fchevitarese 9th October 2007 01:00

how?
 
How can it be onlyu luck ?:!
I really donīt understand !

When i try to install before remove this command, the script removes the archiver that are necessary to install the package.
When i comment it, it works fine!!!

I donīt understand... if it cannot solve my problem, how could it works?

And, everething in computer are logic... If luck solved any problems, nobody will be there...
If luck solve the problems, anyone will get problems!!!

If you could give me an logic explanation of this problem... or ... "LUCK" like you mean.... Iīll be very pleased!!
Thanks!!!

till 9th October 2007 10:52

There is a good reason why there is this line in the setup script. About 300 - 500 users install ISPConfig every day and you are the first one that had to remove this line.

If you install ISPConfig and run the setup script more then once because e.g. the installation stopped due to a dependency missing during compilation, then the install_ispconfig folder has to be removed.

I guess you accidently tried to install ISPConfig from a folder /root/ispconfig or similar, which is used when ISPConfig is isnstalled.


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

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