Please Help. with install on ubuntu

Discussion in 'Installation/Configuration' started by alpha-z, May 24, 2007.

  1. alpha-z

    alpha-z New Member

    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!
     
  2. lyndros

    lyndros New Member

    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...

    :)
     
  3. alpha-z

    alpha-z New Member

    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.
     
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    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
     
  5. alpha-z

    alpha-z New Member

    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.
     
  6. till

    till Super Moderator Staff Member ISPConfig Developer

    Please post the output of:

    df -h
     
  7. fchevitarese

    fchevitarese New Member

    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
     
  8. till

    till Super Moderator Staff Member ISPConfig Developer

    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.
     
  9. fchevitarese

    fchevitarese New Member

    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!!!
     
  10. till

    till Super Moderator Staff Member ISPConfig Developer

    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.
     
  11. fchevitarese

    fchevitarese New Member

    ?

    Dear friend... I really still don't understand what are you talking about!!!
    First ... I try to install and when i got the error, i go to the logs and take a long look... and all the dependencies are installed and working fine.

    Second. The script remove the folder before copie the files that are needed.... I don't if it was only in my case !

    After i comment the line... this work . Maybe it can work with other person!!
    You are a moderator... Don't post stupid replies like this about the problems of all those people!! How can something work only with luck ???

    If that script worked with me, or if i have luck like you mean with this commented line, somebody can have luck like me !!!

    And ... Thanks for your reply !! kkkkkkk
     
  12. till

    till Super Moderator Staff Member ISPConfig Developer

    Then you should read my post again.

    No, it dont. Read my post again, I explained there what the script is removing.

    Read my post above and dont tell me that I post stupid replies. If you dont understand my answer, you may ask. I'am ISPConfig developer and I'am releasing the files, so please dont try to tell me how ISPConfig works.

    I told you that you most likely tried to install the script from within the wrong folder.
     
  13. fchevitarese

    fchevitarese New Member

    kkkk

    Hey, i'm not trying to teach you how you have to install the ISP ...

    The only thing i know, is that mess works after i comment that line...
    It works to me and i tell to other users what i have done!!!

    You're a developer of ISPConfig ?? So, you know that not works with luck!!!

    I don't change the directory, i don't do nothing... i have only removed that line...
    The script are removing the folder before copy the archives !!! In my case of course... Because... i'm a very luck man!!! uhauhauhahuauh

    But, thanks about your anwers... I'm only trying to test the program and i don't like and will not use him ! But congratulations, because the program are very functional !!! And some people can really need this program !
    I hope you still in developer's team ! ;)

    But you agree that luck are not the case!!!

    Thanks !!!
     

Share This Page