ISPConfig 2.2.25 released

Discussion in 'General' started by till, Aug 29, 2008.

  1. indie1982

    indie1982 Member

    Thought it might be!

    Loads of free space left!

    The server is Ubuntu Hardy Heron, it was set up at the end of April by following the perfect server guide on here and it's been updated with apt-get dist-upgrade most weeks. It was up to date when I tried to upgrade to 2.2.25.

    I've done nothing else to the server since it was set up.

    Anything else I can give you to help?
     
    Last edited: Sep 9, 2008
  2. falko

    falko Super Moderator Howtoforge Staff

    Did you change the /bin/sh symlink to /bin/bash?
    If that doesn't help, you can try to install another gcc version.
     
  3. indie1982

    indie1982 Member

    Yes I changed that the first time I installed Ubuntu on the box, ISPConfig wouldn't have installed in the first place if I hadn't?

    I remade the symlink just in case and I still get the same error.

    Can someone help me downgrade to a previous version of GCC on Ubuntu?

    I did "apt-get remove gcc" then tried "apt-get install gcc-4.1" but I have a feeling that's not the proper way to do it as ./setup said it couldn't find gcc.
     
  4. indie1982

    indie1982 Member

    All sorted, I think!

    apt-get remove gcc g++

    apt-get install gcc-3.4 g++-3.4

    ln -s /usr/bin/gcc-3.4 /usr/bin/gcc
    ln -s /usr/bin/g++-3.4 /usr/bin/g++

    It's compiling as I type and it's gone further than before! Fingers crossed!
     
  5. indie1982

    indie1982 Member

    It failed again, however it got much further than before, it did alot of compiling then this:

    Something wrong with the updated PHP that is supplied with 2.2.25?

    I'm gonna try reinstalling 2.2.23 now that I've got gcc 3.4 installed!
     
    Last edited: Sep 11, 2008
  6. indie1982

    indie1982 Member

    2.2.23 Failed, however it did spend about 30 minutes compiling a load of stuff (it's an old P3).

    Seems to be getting closer, but it fails again with the following output.

    install_ispconfig

     
  7. till

    till Super Moderator Staff Member ISPConfig Developer

    Please post the output of:

    which cc
     
  8. indie1982

    indie1982 Member

    Does that mean something isn't installed that needs to be?
     
  9. till

    till Super Moderator Staff Member ISPConfig Developer

    Yes, the cc compiler is not installed or not found. Please check if you have the file:

    /usr/bin/cc-3.4

    if thats the case, run this command to make a symlink:

    ln -s /usr/bin/cc-3.4 /usr/bin/cc
     
  10. indie1982

    indie1982 Member

    There is no /usr/bin/cc-3.4

    Is cc not gcc on Ubuntu?

    Should I be doing:

     
  11. till

    till Super Moderator Staff Member ISPConfig Developer

    I'am not sure. But its worth a try to symlink cc to gcc.
     
  12. indie1982

    indie1982 Member

    Right, I symlinked cc to gcc and got the following:

    Can you make anything of that?
     
  13. falko

    falko Super Moderator Howtoforge Staff

    You can search for a cc package like this:
    Code:
    apt-cache search cc
     
  14. indie1982

    indie1982 Member

    Code:
    apt-cache search cc
    
    All I get is a list of packages with cc in the name or description I think! It showed a big list and scrolled off the terminal a few times.
     
  15. Martin

    Martin New Member

    Seems to be releated to Celeron Machines

    After a few perfect working installations i ran into the same problem...

    The problem was tracked (earlier) down to the generation of openssl: see below

    gcc -I. -I.. -I../include -DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -DOPENSSL_NO_KRB5 -DL_ENDIAN -DTERMIO -O3 -fomit-frame-pointer -m486 -Wall -DSHA1_ASM -DMD5_ASM -DRMD160_ASM -c -o cryptlib.o cryptlib.c
    cc1: Fehler: nicht erkannte Kommandozeilenoption »-m486«
    make[1]: *** [cryptlib.o] Fehler 1
    make[1]: Leaving directory `/install/install_ispconfig/compile_aps/openssl-0.9.7m/crypto'

    and this happens on a celeron type cpu - pentium 4 are no problem.

    configure from openssl-0.9.7m treats celeron system as linux-elf
    instead of linux-pentium... (this is on a fedora 9 - obviously the /proc/cpuinfo changed... - i wonder which release did this - could lead to other problems)

    Norman already suggested a fix but i think gcc should not compile with linux-elf options at all.

    if fixed this by including the following lines

    if grep '^model.*Celeron' /proc/cpuinfo >/dev/null ; then
    OUT="linux-pentium"
    fi

    at line 635 file *config in install_ispconfig/compile_aps/openssl-0.9.7m.tar.gz

    you have to expand the archive - change the file 'config' and repack it in order to ispconfig_setup to run smoothly.

    -> till: you may have to include this with the next release...

    That way celeron systems are treated as pentium systems again.

    hth

    Martin
     
  16. indie1982

    indie1982 Member

    If it's an openssl problem in 2.2.25 then why when I try and install 2.2.23 on my server it fails too?

    I originally had 2.2.23 installed since May but now when I try and install 2.2.23 it fails.

    I even have a feeling that if I wipe the server and set up Ubuntu Hardy Heron again ISPConfig 2.2.25 won't install because of the gcc problem i've found, seems like something doesn't like newer versions of gcc, g++, cc etc.

    Server is an Abit VP6 with 2 Intel P3 933Mhz CPUs. /proc/cpuinfo sees them as PentiumIII not Celeron
     
    Last edited: Sep 11, 2008
  17. Martin

    Martin New Member

    Well - i just tried to re-install version ISPConfig-2.2.23 - which was installed and running perfectly on this machine... - and it failed with the same error.
    However Fedora was updated in the meantime...
     
  18. till

    till Super Moderator Staff Member ISPConfig Developer

    This is not directly a problem in ispconfig as ISPConfig uses the unmodified sources of the other projects like openssl. So if the installation for openssl in ispconfig fails, this means that the openssl sources from openssl.org will not compile anymore on your system in general without patches.
     
  19. till

    till Super Moderator Staff Member ISPConfig Developer

    I guess that specific to fedora as fedora always tries to use the latest packages, it may break other software from major opensource projects like openssl as they do not update their sources that fast.
     
  20. Martin

    Martin New Member

    i agree it's an openssl problem - as stated by norman earlier.

    my findings:
    - depends on the -m486 option which is no more supported with gcc 4.3 when using a celeron. used by fedora 9
    - with gcc >4.2 you have to patch config in openssl if you have a celeron


    i have a 2.6.25.14-108.fc9.i686 fedora 9 server with a Pentium III (Coppermine) -> this is the exact model name
    where setup works fine.

    on model_name Intel(R) Celeron(R) CPU 1.80GHz, same version fedora 9 - the setup (compilation openssl) fails -> workaround with patch in openssl.

    hth
     

Share This Page