Install failure -- Apache 1.3 missing?

Discussion in 'Installation/Configuration' started by Allen15, Jan 29, 2009.

  1. Allen15

    Allen15 New Member

    This has been one of the more frustrating experiences I've had in recent memory...

    My setup starts with a new system, custom built for this purpose, and a clean install following the "Perfect Server" Ubuntu How-To for Intrepid Ibex (8.10).

    I didn't skip any of the steps in that how-to, and it appeared to complete without errors. I then proceeded to attempt to install ISPConfig following the instructions on the website. I don't understand most of the display output, but it looks like the install (a standard install, not an expert one) was looking for apache 1.3, not apache 2.2, which is what is actually installed, and failed completely thereafter.

    Here is the output that I could capture from the putty session, what can I do to get past this?

    make[2]: Leaving directory `/var/tmp/install_ispconfig/compile_aps/openssl-0.9.8i/crypto/lhash'
    making install in crypto/rand...
    make[2]: Entering directory `/var/tmp/install_ispconfig/compile_aps/openssl-0.9.8i/crypto/rand'
    make[2]: Leaving directory `/var/tmp/install_ispconfig/compile_aps/openssl-0.9.8i/crypto/rand'
    making install in crypto/err...
    make[2]: Entering directory `/var/tmp/install_ispconfig/compile_aps/openssl-0.9.8i/crypto/err'
    make[2]: Leaving directory `/var/tmp/install_ispconfig/compile_aps/openssl-0.9.8i/crypto/err'
    making install in crypto/evp...
    make[2]: Entering directory `/var/tmp/install_ispconfig/compile_aps/openssl-0.9.8i/crypto/evp'
    make[2]: Leaving directory `/var/tmp/install_ispconfig/compile_aps/openssl-0.9.8i/crypto/evp'
    making install in crypto/asn1...
    make[2]: Entering directory `/var/tmp/install_ispconfig/compile_aps/openssl-0.9.8i/crypto/asn1'
    make[2]: Leaving directory `/var/tmp/install_ispconfig/compile_aps/openssl-0.9.8i/crypto/asn1'
    making install in crypto/pem...
    make[2]: Entering directory `/var/tmp/install_ispconfig/compile_aps/openssl-0.9.8i/crypto/pem'
    make[2]: Leaving directory `/var/tmp/install_ispconfig/compile_aps/openssl-0.9.8i/crypto/pem'
    making install in crypto/x509...
    make[2]: Entering directory `/var/tmp/install_ispconfig/compile_aps/openssl-0.9.8i/crypto/x509'
    make[2]: Leaving directory `/var/tmp/install_ispconfig/compile_aps/openssl-0.9.8i/crypto/x509'
    making install in crypto/x509v3...
    make[2]: Entering directory `/var/tmp/install_ispconfig/compile_aps/openssl-0.9.8i/crypto/x509v3'
    make[2]: Leaving directory `/var/tmp/install_ispconfig/compile_aps/openssl-0.9.8i/crypto/x509v3'
    making install in crypto/conf...
    make[2]: Entering directory `/var/tmp/install_ispconfig/compile_aps/openssl-0.9.8i/crypto/conf'
    make[2]: Leaving directory `/var/tmp/install_ispconfig/compile_aps/openssl-0.9.8i/crypto/conf'
    making install in crypto/txt_db...
    make[2]: Entering directory `/var/tmp/install_ispconfig/compile_aps/openssl-0.9.8i/crypto/txt_db'
    make[2]: Leaving directory `/var/tmp/install_ispconfig/compile_aps/openssl-0.9.8i/crypto/txt_db'
    making install in crypto/pkcs7...
    make[2]: Entering directory `/var/tmp/install_ispconfig/compile_aps/openssl-0.9.8i/crypto/pkcs7'
    make[2]: Leaving directory `/var/tmp/install_ispconfig/compile_aps/openssl-0.9.8i/crypto/pkcs7'
    making install in crypto/pkcs12...
    make[2]: Entering directory `/var/tmp/install_ispconfig/compile_aps/openssl-0.9.8i/crypto/pkcs12'
    make[2]: Leaving directory `/var/tmp/install_ispconfig/compile_aps/openssl-0.9.8i/crypto/pkcs12'
    making install in crypto/comp...
    make[2]: Entering directory `/var/tmp/install_ispconfig/compile_aps/openssl-0.9.8i/crypto/comp'
    make[2]: Leaving directory `/var/tmp/install_ispconfig/compile_aps/openssl-0.9.8i/crypto/comp'
    making install in crypto/ocsp...
    make[2]: Entering directory `/var/tmp/install_ispconfig/compile_aps/openssl-0.9.8i/crypto/ocsp'
    make[2]: Leaving directory `/var/tmp/install_ispconfig/compile_aps/openssl-0.9.8i/crypto/ocsp'
    making install in crypto/ui...
    make[2]: Entering directory `/var/tmp/install_ispconfig/compile_aps/openssl-0.9.8i/crypto/ui'
    make[2]: Leaving directory `/var/tmp/install_ispconfig/compile_aps/openssl-0.9.8i/crypto/ui'
    making install in crypto/krb5...
    make[2]: Entering directory `/var/tmp/install_ispconfig/compile_aps/openssl-0.9.8i/crypto/krb5'
    make[2]: Leaving directory `/var/tmp/install_ispconfig/compile_aps/openssl-0.9.8i/crypto/krb5'
    making install in crypto/store...
    make[2]: Entering directory `/var/tmp/install_ispconfig/compile_aps/openssl-0.9.8i/crypto/store'
    make[2]: Leaving directory `/var/tmp/install_ispconfig/compile_aps/openssl-0.9.8i/crypto/store'
    making install in crypto/pqueue...
    make[2]: Entering directory `/var/tmp/install_ispconfig/compile_aps/openssl-0.9.8i/crypto/pqueue'
    make[2]: Leaving directory `/var/tmp/install_ispconfig/compile_aps/openssl-0.9.8i/crypto/pqueue'
    make[1]: Leaving directory `/var/tmp/install_ispconfig/compile_aps/openssl-0.9.8i/crypto'
    making install in ssl...
    make[1]: Entering directory `/var/tmp/install_ispconfig/compile_aps/openssl-0.9.8i/ssl'
    make[1]: Leaving directory `/var/tmp/install_ispconfig/compile_aps/openssl-0.9.8i/ssl'
    making install in engines...
    make[1]: Entering directory `/var/tmp/install_ispconfig/compile_aps/openssl-0.9.8i/engines'
    make[1]: Leaving directory `/var/tmp/install_ispconfig/compile_aps/openssl-0.9.8i/engines'
    making install in apps...
    make[1]: Entering directory `/var/tmp/install_ispconfig/compile_aps/openssl-0.9.8i/apps'
    installing openssl
    installing CA.sh
    installing CA.pl
    make[1]: Leaving directory `/var/tmp/install_ispconfig/compile_aps/openssl-0.9.8i/apps'
    making install in test...
    make[1]: Entering directory `/var/tmp/install_ispconfig/compile_aps/openssl-0.9.8i/test'
    make[1]: Nothing to be done for `install'.
    make[1]: Leaving directory `/var/tmp/install_ispconfig/compile_aps/openssl-0.9.8i/test'
    making install in tools...
    make[1]: Entering directory `/var/tmp/install_ispconfig/compile_aps/openssl-0.9.8i/tools'
    make[1]: Leaving directory `/var/tmp/install_ispconfig/compile_aps/openssl-0.9.8i/tools'
    installing libcrypto.a
    installing libssl.a
    cp libcrypto.pc /root/ispconfig/openssl/lib/pkgconfig
    chmod 644 /root/ispconfig/openssl/lib/pkgconfig/libcrypto.pc
    cp libssl.pc /root/ispconfig/openssl/lib/pkgconfig
    chmod 644 /root/ispconfig/openssl/lib/pkgconfig/libssl.pc
    cp openssl.pc /root/ispconfig/openssl/lib/pkgconfig
    chmod 644 /root/ispconfig/openssl/lib/pkgconfig/openssl.pc
    + Warning: Your 'echo' command is slightly broken.
    + It interprets escape sequences per default. We already
    + tried 'echo -E' but had no real success. If errors occur
    + please set the SEO variable in 'configure' manually to
    + the required 'echo' options, i.e. those which force your
    + 'echo' to not interpret escape sequences per default.
    Configuring mod_ssl/2.8.31 for Apache/1.3.41
    + Apache location: ../apache_1.3.41 (Version 1.3.41)
    + OpenSSL location: /root/ispconfig/openssl
    + Auxiliary patch tool: ./etc/patch/patch (local)
    + Applying packages to Apache source tree:
    o Extended API (EAPI)
    o Distribution Documents
    o SSL Module Source
    o SSL Support
    o SSL Configuration Additions
    o SSL Module Documentation
    o Addons
    Done: source extension and patches successfully applied.

    Configuring for Apache, Version 1.3.41
    + Warning: Your 'echo' command is slightly broken.
    + It interprets escape sequences per default. We already
    + tried 'echo -E' but had no real success. If errors occur
    + please set the SEO variable in 'configure' manually to
    + the required 'echo' options, i.e. those which force your
    + 'echo' to not interpret escape sequences per default.
    + using installation path layout: Apache (config.layout)
    Creating Makefile
    Creating Configuration.apaci in src
    Syntax error --- The configuration file is used only to
    define the list of included modules or to set Makefile in src
    options or Configure rules, and I don't see that at all:
    /root/ispconfig/openssl
    yes
    default
    no
    no
    no
    `$(SRCDIR)/apaci`
    no
    default
    default
    no
    no
    no
    yes
    no
    default
    no
    default
    default



















    ./configure:Error: APACI failed
    ERROR: Could not configure Apache
    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
    mv: cannot stat `ispconfig_tmp': No such file or directory
    cp: cannot stat `dist.info': No such file or directory
    All prerequisites are fulfilled.
    Here we go...
    chmod: cannot access `./install.php': No such file or directory
    Please enter your MySQL server:localhost
    OK
    Please enter your MySQL user:root
    Please enter your MySQL password:
    ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)
    The provided MySQL password is wrong!
    Please enter your MySQL server:localhost
    OK
    Please enter your MySQL user:root
    Please enter your MySQL password:
    OK
    Please enter a name for the ISPConfig database (e.g. db_ispconfig):db_ispconfig
    Please enter the IP address of the ISPConfig web (e.g. 192.168.0.1):67.153.13.6
    OK
    Please enter the host name (e.g. www):
    Please enter the domain (e.g. xyz.de):67.153.13.6
    OK
    Please select the protocol (http or https (SSL encryption)) to use to access the ISPConfig system:
    1) HTTPS
    2) HTTP
    Your Choice: 2

    ./setup2: line 1090: mysql_config: No such file or directory
    ./setup2: line 1091: httpd: No such file or directory
    ./setup2: line 1092: httpd2: No such file or directory
    ./setup2: line 1093: httpd2: No such file or directory
    ./setup2: line 1103: ip_addresses: No such file or directory
    ./setup2: line 1105: /root/ispconfig/php/php: No such file or directory
    ./setup2: line 1106: /root/ispconfig/dist.info: No such file or directory
    chmod: cannot access `/home/admispconfig/ispconfig/tools/suphp/usr/bin/php-wrapper': No such file or directory
    ./setup2: line 1119: /home/admispconfig/ispconfig/sysconf.txt: No such file or directory
    ./setup2: line 1120: /home/admispconfig/ispconfig/sysconf.txt: No such file or directory
    Restarting some services...
    * Stopping Postfix Mail Transport Agent postfix [ OK ]
    * Starting Postfix Mail Transport Agent postfix [ OK ]
    * Stopping ftp server proftpd [ OK ]
    * Starting ftp server proftpd [ OK ]
    ./setup2: line 1163: /etc/init.d/ispconfig_server: No such file or directory
    Congratulations! Your ISPConfig system is now installed. If you had to install quota, please take the steps described in the installation manual. Otherwise your system is now available without reboot.
    Please direct your browser to

    http://67.153.13.6:81

    and log in:
    Username: admin
    Password: admin

    ./setup2: line 1189: cd: /var/tmp/install_ispconfig/compile_aps/../..: No such file or directory
    root@tinyweb1:/var/tmp/install_ispconfig#
     
  2. till

    till Super Moderator

  3. Allen15

    Allen15 New Member

    Actually, I didn't skip that step either, but I will try it again, on my next reload (after I get some sleep), although I didn't understand much of what I was doing, and it is possible that I may have mis-typed or mis-spelled something due to bleary eyes and/or font confusion. I will try to see if I can copy and paste into putty, just to avoid such mishaps next time, since I've now gone through this load 8 times with Ubuntu 8.10, 2 with Mandriva 2009, 1 with Ubuntu 8.04, 1 with Debian 4.0r6, and am considering downloading the Fedora Core 10 DVD image as my next hope, if the current download of Centos doesn't work first.

    If it is a font confusion issue, that would explain why it is so repeatable (for me), and why there isn't an entire forum of folks screaming in pain from these attempts. I gotta get some sleep. Thanks for the reply and at least a glimmer of hope that I may actually be able to do this :)
     
  4. Allen15

    Allen15 New Member

    How do I verify the shell? I copied and pasted the Step 9 command line into a puTTY session, but I don't have any idea how to verify that it did anything?

    How do I tell what shell I am running? "which bash" gives output of /bin/bash, but that doesn't necessarily mean that I am running that shell, or that it will be the shell that ISPConfig will have available when I get there?

    Thanks, my toes are crossed on this install... :)
     
  5. Allen15

    Allen15 New Member

    SUCCESS!!! - Well, almost?

    I have managed to get the ISPConfig software installed, and logged into it, and it is a truly beautiful sight to see!

    There is something in the How-To's that I am mistaking for another character, and I don't know which, but when I copy and paste all of the How-To commands into a text editor (Windows Notepad), and edit anything that is required to be specific to my hostname, etc., I was able to create a successful installation by pasting those lines into puTTY.

    I got zero errors during the installation process, although Step 9 doesn't give much feedback, positive or not on successful completion...

    Unfortunately, this was all done in a test environment, and now that I have a working installation, I need to figure out how to change the IP address to the real IP address...

    Is this possible to change a Server IP address without having to completely uninstall/re-install ISPConfig? I know how to change the IP address for the server without ISPConfig, but are there any special considerations I will need to be able to bring it up at a new (production) IP address, or do I need to blow it away, and install in place?

    Thanks,

    Allen
     
  6. falko

    falko Super Moderator

    Take a look here: http://www.howtoforge.com/forums/showthread.php?t=2760
     
  7. Allen15

    Allen15 New Member

    I'm afraid this is truly kicking my face in :(

    I have gone through the files and verified the correct IP addresses are there, and I've also gone through the How-To on what to do after installing ISPConfig 2.x, at least to the point of trying to create a site, and I have little to show for it but error messages.

    Is it possible that my original server installation hostname shouldn't have taken the hostname of my main site I'm trying to launch? If so, I am sure that I can change the server hostname, but so far, I am unable to get any response to http requests at the primary site name, but I can ping by name and get response, and I can browse by IP address and get the shared hosting page from ISPConfig.

    When I go through the site setup, it informs me that "www.example.com" is already in use (and this is for a first site setup/configuration), but I can't browse to anything resembling a site, only an error page after timeout.

    What do I get and for how much with the Enterprise support paid package? As much as I'd really like to learn how to do this, I have to move forward, one way or another.

    Thanks, and please enlighten me?

    Allen
     
  8. falko

    falko Super Moderator

    That's right. You can change the hostname like this:
    Code:
    echo server1.example.com > /etc/hostname
    /etc/init.d/hostname.sh start
    It's EUR 35 for every started 30 minutes. But Till has a serious flu, so he won't be available before next week.
     
  9. Allen15

    Allen15 New Member

    I have uninstalled ISPConfig, dropped the database, and changed the hostname, edited the hostname in all of the right places, and started (almost from scratch) over. Rebooted, just to be sure, I then re-installed ISPConfig with the new hostname, and went through the How-To for the initial setup, and I still can't browse my site by name.

    Again, I can ping my public IP address and I can't ping by name (but the ping does resolve to the correct IP address), and browsing by IP address produces the ISPConfig shared hosting page. Browsing by name produces a "Connection interrupted" error, but no web page.

    I can also connect via ftp to the IP address, so ProFTP is working ok, and the webftp works from within the ISPConfig control panel, and I can log into the webmail, which apparently works, but don't receive anything I send from it.

    What can I do to fix my problem? I just need to get a website with webmail up that can be managed with a web interface. Is there a better way to do this? If I can just get it to respond to requests by name, that would be a good start, and apparently my nemesis...
     
  10. falko

    falko Super Moderator

    Can you post the domain of your web site? What are the outputs of
    Code:
    ifconfig
    and
    Code:
    iptables -L
    , and what's in Vhosts_ispconfig.conf?
     
  11. VP.

    VP. New Member

    Allen15, how did you end up getting around the error you were originally encountering? The output you posted is the same as what I am currently getting. I can't tell if it is indeed because of a problem with my echo command, or if something else is going wrong.

    I am pretty sure step 9 was successful for me. "echo $SHELL" prints "/bin/bash" for me. What else should I be trying at this point?
     
  12. till

    till Super Moderator

    You have to rellink the shell from /bin/dash to /bin/bash. Take a look at the perfect setup tutorial for ubuntu, its described there in step 9 if I remember correctly.
     

Share This Page