I Fail at installing ispconfig where did I go wrong?

Discussion in 'Installation/Configuration' started by stocker741, Oct 5, 2008.

  1. stocker741

    stocker741 New Member

    Alright what did I do wrong?

    Code:
    stocker@linux-server/installs$:tar -zxvf I*.*
    [...Unpacks...]
    
    stocker@linux-server:~/installs$ cd install_ispconfig/
    stocker@linux-server:~/installs/install_ispconfig$ sudo ./setup 
    [sudo] password for stocker: 
    Debian lenny/sid.0
    ./setup2: line 76: export: `/etc/init.d': not a valid identifier
    Neuinstallation eines ISPConfig-Systems. / Installation of a new ISPConfig system. / Installation d'ISPConfig sur un nouveau système.
    Wählen Sie Ihre Sprache (deutsch/englisch/spanisch/französisch/italienisch/niederländisch/polnisch/schwedisch): / Please choose your language (German/English/Spanish/French/Italian/Dutch/Polish/Swedish):  / Merci de choisir votre langue (Allemand/Anglais/Espagnol/Français/Italien/Néerlandais/Polonais/Suédois):
    1) de
    2) en
    3) es
    4) fr
    5) it
    6) nl
    7) pl
    8) se
    Ihre Wahl: / Your Choice: / Votre Choix:2
    
    With the system installation, some system files are replaced where adjustments were made. This can lead to loss of entries in httpd.conf, named.conf as well as in the Sendmail configuration.
    
    Do you want to continue with the installation? [y/n]y
    
    Please read through the licence carefully:
    
    Copyright (c) 2005, projektfarm GmbH, Till Brehm, Falko Timme
    All rights reserved.
    
    Redistribution and use in source and binary forms, with or without modification,
    are permitted provided that the following conditions are met:
    
        * Redistributions of source code must retain the above copyright notice,
          this list of conditions and the following disclaimer.
        * Redistributions in binary form must reproduce the above copyright notice,
          this list of conditions and the following disclaimer in the documentation
          and/or other materials provided with the distribution.
        * Neither the name of ISPConfig nor the names of its contributors
          may be used to endorse or promote products derived from this software with
    out
          specific prior written permission.
    
    THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
    ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
    WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIME
    D.
    IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
    INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
    BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
    DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
    OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
    NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
    [7m--More--[27m
    EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
    
    Do you accept the licence? [y/n]y
    
    Please select the installation mode. In expert mode you have to answer some additional questions. In standard mode standard values are assumed for these questions.
    1) standard
    2) expert
    Your Choice: 1
    
    ########## MAIL SERVER ##########
    
    Checking for MTA...
    /usr/sbin/postfix
    OK
    
    ISPConfig found the following MTA:
    postfix
    Is this correct? [y/n]y
    
    
    ########## FTP SERVER ##########
    
    Checking if an FTP server is installed...
    /usr/sbin/vsftpd
    OK
    
    ISPConfig found the following FTP server:
    vsftpd
    Is this correct? [y/n]y
    
    
    ########## PROCMAIL ##########
    
    Checking for package procmail...
    /usr/bin/procmail
    OK
    
    ########## QUOTA ##########
    
    Checking for package quota...
    /usr/bin/quota
    OK
    
    ########## MYSQL SERVER ##########
    
    Checking for package MySQL...
    /usr/bin/mysql
    OK
    
    ########## OPENSSL ##########
    
    Checking for package openssl...
    /usr/bin/openssl
    OK
    
    ########## DNS SERVER ##########
    
    Checking for package bind...
    /usr/sbin/named
    OK
    
    ########## IPTABLES/IPCHAINS/IPFW ##########
    
    Checking for program iptables/ipchains/ipfw...
    /sbin/iptables
    OK
    
    ########## WEB SERVER ##########
    
    Checking for program httpd...
    /usr/bin/httpd
    OK
    Checking the syntax of the httpd.conf...
    httpd: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName
    Syntax OK
    The syntax is ok!
    
    ########## gcc ##########
    
    /usr/bin/gcc
    OK
    
    ########## make ##########
    
    /usr/bin/make
    OK
    
    ########## lex ##########
    
    /usr/bin/lex
    OK
    
    ########## g++ ##########
    
    /usr/bin/g++
    OK
    
    ########## INSTALLATION ##########
    
    [...Bunch of stuff...]
    Operating system: x86_64-whatever-linux2
    Configuring for linux-x86_64
    Configuring for linux-x86_64
    IsWindows=0
    CC            =gcc
    CFLAG         =-DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -DOPENSSL_NO_KRB5 -m64 -DL_ENDIAN -DTERMIO -O3 -Wall -DMD32_REG_T=int
    EX_LIBS       =-ldl
    BN_ASM        =asm/x86_64-gcc.o
    DES_ENC       =des_enc.o fcrypt_b.o
    BF_ENC        =bf_enc.o
    CAST_ENC      =c_enc.o
    RC4_ENC       =asm/rc4-x86_64.o
    RC5_ENC       =rc5_enc.o
    MD5_OBJ_ASM   =
    SHA1_OBJ_ASM  =
    RMD160_OBJ_ASM=
    PROCESSOR     =
    RANLIB        =/usr/bin/ranlib
    ARFLAGS       =
    PERL          =/usr/bin/perl
    SIXTY_FOUR_BIT_LONG mode
    DES_UNROLL used
    DES_INT used
    RC4 uses uchar
    RC4_CHUNK is unsigned long
    BF_PTR2 used
    e_os2.h => include/openssl/e_os2.h
    [...Makes a bunch of stuff...]
    [...Does more Stuff...}
    installing libcrypto.a
    installing libssl.a
    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 [1mmod_ssl/2.8.31[m for [1mApache/1.3.41[m
     + Apache location: ../apache_1.3.41 (Version 1.3.41)
     + OpenSSL location: /root/ispconfig/openssl
    
     + Auxiliary patch tool: ./etc/patch/patch (local)...|
     + Auxiliary patch tool: ./etc/patch/patch (local).../
     + Auxiliary patch tool: ./etc/patch/patch (local)...-
     + Auxiliary patch tool: ./etc/patch/patch (local)...\
     + Auxiliary patch tool: ./etc/patch/patch (local)...|
     + Auxiliary patch tool: ./etc/patch/patch (local).../
     + Auxiliary patch tool: ./etc/patch/patch (local)...-
     + Auxiliary patch tool: ./etc/patch/patch (local)...\
     + Auxiliary patch tool: ./etc/patch/patch (local)...|
     + Auxiliary patch tool: ./etc/patch/patch (local).../
     + Auxiliary patch tool: ./etc/patch/patch (local)...-
     + Auxiliary patch tool: ./etc/patch/patch (local)...\
     + Auxiliary patch tool: ./etc/patch/patch (local)...|
     + Auxiliary patch tool: ./etc/patch/patch (local).../
     + Auxiliary patch tool: ./etc/patch/patch (local)...-
     + Auxiliary patch tool: ./etc/patch/patch (local)...\
     + Auxiliary patch tool: ./etc/patch/patch (local)...|
     + Auxiliary patch tool: ./etc/patch/patch (local).../
     + Auxiliary patch tool: ./etc/patch/patch (local)...-
     + Auxiliary patch tool: ./etc/patch/patch (local)...\
     + Auxiliary patch tool: ./etc/patch/patch (local)...|
     + Auxiliary patch tool: ./etc/patch/patch (local).../
     + Auxiliary patch tool: ./etc/patch/patch (local)...-
     + Auxiliary patch tool: ./etc/patch/patch (local)...\
     + Auxiliary patch tool: ./etc/patch/patch (local)...|
     + Auxiliary patch tool: ./etc/patch/patch (local).../
     + Auxiliary patch tool: ./etc/patch/patch (local)...-
     + Auxiliary patch tool: ./etc/patch/patch (local)...\
     + Auxiliary patch tool: ./etc/patch/patch (local)...|
     + Auxiliary patch tool: ./etc/patch/patch (local).../
     + Auxiliary patch tool: ./etc/patch/patch (local)...-
     + Auxiliary patch tool: ./etc/patch/patch (local)...\
     + Auxiliary patch tool: ./etc/patch/patch (local)...|
     + Auxiliary patch tool: ./etc/patch/patch (local).../
     + Auxiliary patch tool: ./etc/patch/patch (local)...-
     + Auxiliary patch tool: ./etc/patch/patch (local)...\
     + Auxiliary patch tool: ./etc/patch/patch (local)...|
     + Auxiliary patch tool: ./etc/patch/patch (local).../
     + Auxiliary patch tool: ./etc/patch/patch (local)...-
     + Auxiliary patch tool: ./etc/patch/patch (local)...\
     + Auxiliary patch tool: ./etc/patch/patch (local)...|
     + Auxiliary patch tool: ./etc/patch/patch (local).../
     + Auxiliary patch tool: ./etc/patch/patch (local)...-
     + Auxiliary patch tool: ./etc/patch/patch (local)...\
     + Auxiliary patch tool: ./etc/patch/patch (local)...|
     + Auxiliary patch tool: ./etc/patch/patch (local).../
     + Auxiliary patch tool: ./etc/patch/patch (local)...-
     + Auxiliary patch tool: ./etc/patch/patch (local)...\
     + Auxiliary patch tool: ./etc/patch/patch (local)...|
     + Auxiliary patch tool: ./etc/patch/patch (local).../
     + Auxiliary patch tool: ./etc/patch/patch (local)...-
     + Auxiliary patch tool: ./etc/patch/patch (local)...\
     + Auxiliary patch tool: ./etc/patch/patch (local)...|
     + Auxiliary patch tool: ./etc/patch/patch (local).../
     + Auxiliary patch tool: ./etc/patch/patch (local)...-
     + Auxiliary patch tool: ./etc/patch/patch (local)...\
     + Auxiliary patch tool: ./etc/patch/patch (local)...|
     + Auxiliary patch tool: ./etc/patch/patch (local).../
     + Auxiliary patch tool: ./etc/patch/patch (local)...-
     + Auxiliary patch tool: ./etc/patch/patch (local)...\
     + Auxiliary patch tool: ./etc/patch/patch (local)...|
     + 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
    
    [................................................Here is weird stuff happens............................................]
    Code:
    ./configure:[1mError[m: 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:
    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):192.168.1.5
    OK
    Please enter the host name (e.g. www):www(edited)
    Please enter the domain (e.g. xyz.de):xyz.de(edited)
    The URL is not reachable!
    Please enter the host name (e.g. www):www(edited but same)
    Please enter the domain (e.g. xyz.de):xyz.de(edited but same)
    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...
    apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName
     * Stopping Postfix Mail Transport Agent postfix       [80G 
    [74G[ OK ]
     * Starting Postfix Mail Transport Agent postfix       [80G 
    [74G[ 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://www.xyz.de:81 (edited)
    
    and log in:
    Username: admin
    Password: admin
    
    ./setup2: line 1189: cd: /home/stocker/installs/install_ispconfig/compile_aps/../..: No such file or directory
    
    [​IMG]

    [​IMG]

    Here is my netstat -tap

    Code:
    stocker@linux-server:~/installs$ netstat -tap
    (Not all processes could be identified, non-owned process info
     will not be shown, you would have to be root to see it all.)
    Active Internet connections (servers and established)
    Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name
    tcp        0      0 *:imaps                 *:*                     LISTEN      -
    tcp        0      0 *:pop3s                 *:*                     LISTEN      -
    tcp        0      0 *:swat                  *:*                     LISTEN      -
    tcp        0      0 localhost:mysql         *:*                     LISTEN      -
    tcp        0      0 *:netbios-ssn           *:*                     LISTEN      -
    tcp        0      0 *:pop3                  *:*                     LISTEN      -
    tcp        0      0 *:imap2                 *:*                     LISTEN      -
    tcp        0      0 *:www                   *:*                     LISTEN      -
    tcp        0      0 *:ftp                   *:*                     LISTEN      -
    tcp        0      0 localhost:ipp           *:*                     LISTEN      -
    tcp        0      0 *:smtp                  *:*                     LISTEN      -
    tcp        0      0 *:microsoft-ds          *:*                     LISTEN      -
    tcp        0      0 192.168.1.:microsoft-ds 192.168.1.105:64257     ESTABLISHED -
    tcp        0      0 192.168.1.5:netbios-ssn 192.168.1.101:1469      TIME_WAIT   -
    tcp6       0      0 [::]:ssh                [::]:*                  LISTEN      -
    tcp6       0      0 192.168.1.5%2055076:ssh 192.168.1.105%205:64278 ESTABLISHED -
    

    Im out of ideas... please assist!
     
    Last edited: Oct 6, 2008
  2. stocker741

    stocker741 New Member

    So, I went and did the perfect Install to the T on my ubuntu system and same story.... Though I no longer have those weird errors..... but still the unable to connect on port 81.

    Here is my new netstat -t
    Code:
    stocker@server:~$ netstat -tap
    (No info could be read for "-p": geteuid()=1000 but you should be root.)
    Active Internet connections (servers and established)
    Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name
    tcp        0      0 *:swat                  *:*                     LISTEN      -
    tcp        0      0 localhost:mysql         *:*                     LISTEN      -
    tcp        0      0 *:netbios-ssn           *:*                     LISTEN      -
    tcp        0      0 *:www                   *:*                     LISTEN      -
    tcp        0      0 localhost:domain        *:*                     LISTEN      -
    tcp        0      0 localhost:ipp           *:*                     LISTEN      -
    tcp        0      0 *:smtp                  *:*                     LISTEN      -
    tcp        0      0 localhost:953           *:*                     LISTEN      -
    tcp        0      0 *:https                 *:*                     LISTEN      -
    tcp        0      0 *:microsoft-ds          *:*                     LISTEN      -
    tcp        0      0 server.digi:netbios-ssn 192.168.1.118:1038      ESTABLISHED -
    tcp        0      0 server.dig:microsoft-ds 192.168.1.119:2677      ESTABLISHED -
    tcp6       0      0 [::]:imaps              [::]:*                  LISTEN      -
    tcp6       0      0 [::]:pop3s              [::]:*                  LISTEN      -
    tcp6       0      0 [::]:pop3               [::]:*                  LISTEN      -
    tcp6       0      0 [::]:imap2              [::]:*                  LISTEN      -
    tcp6       0      0 [::]:ftp                [::]:*                  LISTEN      -
    tcp6       0      0 [::]:domain             [::]:*                  LISTEN      -
    tcp6       0      0 [::]:ssh                [::]:*                  LISTEN      -
    tcp6       0      0 [::]:smtp               [::]:*                  LISTEN      -
    tcp6       0      0 ip6-localhost:953       [::]:*                  LISTEN      -
    
     
  3. till

    till Super Moderator Staff Member ISPConfig Developer

    Please run:

    /etc/init.d/ispconfig_server start

    The errors in your first install most likely occured because you executed the script with sudo instead of being root.
     
  4. stocker741

    stocker741 New Member

    I went and redid the setup and everything went perfectly... but I cant start it....

    Code:
    root@server:/home/stocker# /etc/init.d/ispconfig_server start
    bash: /etc/init.d/ispconfig_server: No such file or directory
    root@server:/home/stocker# 
    
     
    Last edited: Oct 6, 2008
  5. falko

    falko Super Moderator ISPConfig Developer

    What's the output of
    Code:
    df -h
    ?
    Are there any errors or warnings in the ISPConfig installation log in /var/log?
     
  6. stocker741

    stocker741 New Member

    Alright! I been doing research and I figured it out from one of your old post.

    I went and downloaded version 2.2.18

    then I did
    Code:
    apt-get install mysql-server mysql-client libmysqlclient15-dev
    then and #bind-address
    Code:
    vi /etc/mysql/my.cnf
    then re ran the setup.
    Once it finished i was able to access it! but admin, admin didn't work.

    I re-enabled my php and installed phpMyAdmin.

    Went to my db_ispconfig and noticed it was blank. I uploaded the SQL file that came with the install and pasted it into phpMyAdmin and hit go. Now everything works perfectly!
     
  7. till

    till Super Moderator Staff Member ISPConfig Developer

    I doubt that. The sql file does not contain the nescessary data and can not be installed the way you did. Go to administartion > server > settings in ispconfig, change a setting and click on save. Go back and check if the edited setting has been saved. If yot, you will have to reinstall ISPConfig completely or play back a backup of the original database if available.
     
  8. stocker741

    stocker741 New Member

    Curses...

    reinstalling now...
     
  9. hahni

    hahni New Member

    Your tipp will not work on my machine:

    ---
    ./setup
    Debian lenny/sid.0
    ./setup2: line 76: export: `/etc/init.d': not a valid identifier
    Upgrade einer existierenden ISPConfig-Installation. / Upgrading an existing ISPConfig installation. / Mise ▒ jour d'une installation d'ISPConfig existante.

    Das Upgrade wird von Ihnen ge▒nderte Templates/Dateien von ISPConfig ▒berspielen. Wenn Sie diese Dateien sichern m▒chten, sollten Sie jetzt eine zweite Shell ▒ffnen, um ein Backup der betroffenen Dateien durchzuf▒hren.
    The upgrade will overwrite your manual changes to files/templates of ISPConfig. In order to save those files you should open a second shell to make a backup of the affected files.
    En uppgradering kommer att skriva ▒ver manuella ▒ndringar gjorda p▒ filer/mallar i ISPConfig.F▒r att spara dessa ▒ndringar b▒r du ▒ppna ett andra skal f▒nster f▒r att g▒ra en backup p▒ ber▒rda filer.
    Cette mise ▒ jour va supprimer vos changements dans les fichiers des manuels/modeles d'ISPConfig. Pour sauvegarder ces fichiers vous devez ouvrir une seconde fen▒tre shell et enregistrer les fichiers concern▒s.
    Shutting down ISPConfig system...
    /root/ispconfig/httpd/bin/apachectl stop: httpd stopped
    ISPConfig system stopped!
    W▒hlen Sie Ihre Sprache (deutsch/englisch/spanisch/franz▒sisch/italienisch/niederl▒ndisch/polnisch/schwedisch): / Please choose your language (German/English/Spanish/French/Italian/Dutch/Polish/Swedish): / Merci de choisir votre langue (Allemand/Anglais/Espagnol/Fran▒ais/Italien/N▒erlandais/Polonais/Su▒dois):
    1) de
    2) en
    3) es
    4) fr
    5) it
    6) nl
    7) pl
    8) se
    Ihre Wahl: / Your Choice: / Votre Choix:
    ---
     
  10. Shawn Brant

    Shawn Brant New Member

    I am in the same boat. I have Fedora 8 and followed the perfect setup and then installed ispconfig but I can not access it and further more the file does not exist in init.d I also do not see the database I specified. Here is the log file. Any help would be appreciated.

    Code:
    Tue Oct 14 16:38:47 EDT 2008 - [ISPConfig] - installation directory: /usr/local/src/install_ispconfig
    Tue Oct 14 16:38:47 EDT 2008 - [ISPConfig] - operating system: Fedora 8.0
    Tue Oct 14 16:38:50 EDT 2008 - [ISPConfig] - Neuinstallation eines ISPConfig-Systems. / Installation of a new ISPConfig system. / Installation d'ISPConfig sur un nouveau syst�me.
    Tue Oct 14 16:38:54 EDT 2008 - [ISPConfig] - selected language: en
    Tue Oct 14 16:38:56 EDT 2008 - [ISPConfig] - installation note accepted
    Tue Oct 14 16:38:58 EDT 2008 - [ISPConfig] - licence accepted
    Tue Oct 14 16:39:00 EDT 2008 - [ISPConfig] - installation mode: standard
    Tue Oct 14 16:39:01 EDT 2008 - [ISPConfig] - mail: postfix
    Tue Oct 14 16:39:01 EDT 2008 - [ISPConfig] - dist_mail=postfix ##
    Tue Oct 14 16:39:01 EDT 2008 - [ISPConfig] - dist_mail_log=/var/log/maillog ##
    Tue Oct 14 16:39:01 EDT 2008 - [ISPConfig] - dist_mail_virtusertable=/etc/postfix/virtusertable ##
    Tue Oct 14 16:39:01 EDT 2008 - [ISPConfig] - dist_mail_local_host_names=/etc/postfix/local-host-names ##
    Tue Oct 14 16:39:02 EDT 2008 - [ISPConfig] - ftp: proftpd
    Tue Oct 14 16:39:02 EDT 2008 - [ISPConfig] - dist_ftp=proftpd ##
    Tue Oct 14 16:39:02 EDT 2008 - [ISPConfig] - dist_ftp_conf=/etc/proftpd.conf ##
    Tue Oct 14 16:39:02 EDT 2008 - [ISPConfig] - dist_ftp_version=standalone ##
    Tue Oct 14 16:39:02 EDT 2008 - [ISPConfig] - dist_ftp_log=/var/log/xferlog ##
    Tue Oct 14 16:39:02 EDT 2008 - [ISPConfig] - procmail found: /usr/bin/procmail
    Tue Oct 14 16:39:02 EDT 2008 - [ISPConfig] - quota found: /usr/bin/quota
    Tue Oct 14 16:39:02 EDT 2008 - [ISPConfig] - mysql found: /usr/bin/mysql
    Tue Oct 14 16:39:02 EDT 2008 - [ISPConfig] - openssl found: /usr/bin/openssl
    Tue Oct 14 16:39:02 EDT 2008 - [ISPConfig] - named found: /usr/sbin/named
    Tue Oct 14 16:39:02 EDT 2008 - [ISPConfig] - iptables found: /sbin/iptables
    Tue Oct 14 16:39:02 EDT 2008 - [ISPConfig] - httpd found: /usr/sbin/httpd
    Tue Oct 14 16:39:02 EDT 2008 - [ISPConfig] - httpd syntax ok!
    Tue Oct 14 16:39:02 EDT 2008 - [ISPConfig] - dist_path_httpd_root=/var/www ##
    Tue Oct 14 16:39:02 EDT 2008 - [ISPConfig] - gcc found: /usr/bin/gcc
    Tue Oct 14 16:39:02 EDT 2008 - [ISPConfig] - make found: /usr/bin/make
    Tue Oct 14 16:39:02 EDT 2008 - [ISPConfig] - flex found: /usr/bin/lex
    Tue Oct 14 16:39:02 EDT 2008 - [ISPConfig] - g++ found: /usr/bin/g++
    Tue Oct 14 16:45:16 EDT 2008 - [ISPConfig] - WARNING: could not unpack ISPConfig system
    Tue Oct 14 16:45:16 EDT 2008 - [ISPConfig] - WARNING: could not move directory ispconfig_tmp to /root/ispconfig
    Tue Oct 14 16:46:13 EDT 2008 - [ISPConfig] - httpd restart successful
    Tue Oct 14 16:46:13 EDT 2008 - [ISPConfig] - postfix restart successful
    Tue Oct 14 16:46:14 EDT 2008 - [ISPConfig] - file /root/ispconfig/dist.info deleted
    Tue Oct 14 16:46:14 EDT 2008 - [ISPConfig] - directory install_ispconfig deleted
    Tue Oct 14 16:46:14 EDT 2008 - [ISPConfig] - ##############################
    
     
  11. falko

    falko Super Moderator ISPConfig Developer

    What happens when you replace line 76 in setup2 with
    Code:
    export dist_init_scripts=$dist_init_scripts
    ?
     
  12. Shawn Brant

    Shawn Brant New Member

    Here is my output...still looking for some help.

    Code:
    Fedora 8.0
    Neuinstallation eines ISPConfig-Systems. / Installation of a new ISPConfig system. / Installation d'ISPConfig sur un nouveau syst?me.
    W?hlen Sie Ihre Sprache (deutsch/englisch/spanisch/franz?sisch/italienisch/niederl?ndisch/polnisch/schwedisch): / Please choose your language (German/English/Spanish/French/Italian/Dutch/Polish/Swedish):  / Merci de choisir votre langue (Allemand/Anglais/Espagnol/Fran?ais/Italien/N?erlandais/Polonais/Su?dois):
    1) de
    2) en
    3) es
    4) fr
    5) it
    6) nl
    7) pl
    8) se
    Ihre Wahl: / Your Choice: / Votre Choix:2
    
    With the system installation, some system files are replaced where adjustments were made. This can lead to loss of entries in httpd.conf, named.conf as well as in the Sendmail configuration.
    
    Do you want to continue with the installation? [y/n]y
    
    Please read through the licence carefully:
    
    Copyright (c) 2005, projektfarm GmbH, Till Brehm, Falko Timme
    All rights reserved.
    
    Redistribution and use in source and binary forms, with or without modification,
    are permitted provided that the following conditions are met:
    
        * Redistributions of source code must retain the above copyright notice,
          this list of conditions and the following disclaimer.
        * Redistributions in binary form must reproduce the above copyright notice,
          this list of conditions and the following disclaimer in the documentation
          and/or other materials provided with the distribution.
        * Neither the name of ISPConfig nor the names of its contributors
          may be used to endorse or promote products derived from this software without
          specific prior written permission.
    
    THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
    ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
    WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
    IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
    INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
    BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
    DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
    OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
    NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
    
    Do you accept the licence? [y/n]y
    
    Please select the installation mode. In expert mode you have to answer some additional questions. In standard mode standard values are assumed for these questions.
    1) standard
    2) expert
    Your Choice: 1
    
    ########## MAIL SERVER ##########
    
    Checking for MTA...
    /usr/sbin/postfix
    OK
    
    ISPConfig found the following MTA:
    postfix
    Is this correct? [y/n]y
    
    
    ########## FTP SERVER ##########
    
    Checking if an FTP server is installed...
    /usr/sbin/proftpd
    OK
    
    ISPConfig found the following FTP server:
    proftpd
    Is this correct? [y/n]y
    
    
    ########## PROCMAIL ##########
    
    Checking for package procmail...
    /usr/bin/procmail
    OK
    
    ########## QUOTA ##########
    
    Checking for package quota...
    /usr/bin/quota
    OK
    
    ########## MYSQL SERVER ##########
    
    Checking for package MySQL...
    /usr/bin/mysql
    OK
    
    ########## OPENSSL ##########
    
    Checking for package openssl...
    /usr/bin/openssl
    OK
    
    ########## DNS SERVER ##########
    
    Checking for package bind...
    /usr/sbin/named
    OK
    
    ########## IPTABLES/IPCHAINS/IPFW ##########
    
    Checking for program iptables/ipchains/ipfw...
    /sbin/iptables
    OK
    
    ########## WEB SERVER ##########
    
    Checking for program httpd...
    /usr/sbin/httpd
    OK
    Checking the syntax of the httpd.conf...
    Syntax OK
    The syntax is ok!
    
    ########## gcc ##########
    
    /usr/bin/gcc
    OK
    
    ########## make ##########
    
    /usr/bin/make
    OK
    
    ########## lex ##########
    
    /usr/bin/lex
    OK
    
    ########## g++ ##########
    
    /usr/bin/g++
    OK
    
    ########## INSTALLATION ##########
    
    
    +---------------------------------------------------------------------+
    | Before you install the package you now should prepare the SSL       |
    | certificate system by running the 'make certificate' command.       |
    | For different situations the following variants are provided:       |
    |                                                                     |
    | % make certificate TYPE=dummy    (dummy self-signed Snake Oil cert) |
    | % make certificate TYPE=test     (test cert signed by Snake Oil CA) |
    | % make certificate TYPE=custom   (custom cert signed by own CA)     |
    | % make certificate TYPE=existing (existing cert)                    |
    |        CRT=/path/to/your.crt [KEY=/path/to/your.key]                |
    |                                                                     |
    | Use TYPE=dummy    when you're a  vendor package maintainer,         |
    | the TYPE=test     when you're an admin but want to do tests only,   |
    | the TYPE=custom   when you're an admin willing to run a real server |
    | and TYPE=existing when you're an admin who upgrades a server.       |
    | (The default is TYPE=test)                                          |
    |                                                                     |
    | Additionally add ALGO=RSA (default) or ALGO=DSA to select           |
    | the signature algorithm used for the generated certificate.         |
    |                                                                     |
    | Use 'make certificate VIEW=1' to display the generated data.        |
    |                                                                     |
    | Thanks for using Apache & mod_ssl.       Ralf S. Engelschall        |
    |                                          [email protected]        |
    |                                          www.engelschall.com        |
    +---------------------------------------------------------------------+
    make[1]: Leaving directory `/usr/local/src/install_ispconfig/compile_aps/apache_1.3.41'
    <=== src
    make[1]: Entering directory `/usr/local/src/install_ispconfig/compile_aps/apache_1.3.41/src'
    SSL Certificate Generation Utility (mkcert.sh)
    Copyright (c) 1998-2000 Ralf S. Engelschall, All Rights Reserved.
    
    Generating custom certificate signed by own CA [CUSTOM]
    ______________________________________________________________________
    
    STEP 0: Decide the signature algorithm used for certificates
    The generated X.509 certificates can contain either
    RSA or DSA based ingredients. Select the one you want to use.
    Signature Algorithm ((R)SA or (D)SA) [R]:
    ______________________________________________________________________
    
    STEP 1: Generating RSA private key for CA (1024 bit) [ca.key]
    206488 semi-random bytes loaded
    Generating RSA private key, 1024 bit long modulus
    ...................................++++++
    ............++++++
    e is 65537 (0x10001)
    ______________________________________________________________________
    
    STEP 2: Generating X.509 certificate signing request for CA [ca.csr]
    You are about to be asked to enter information that will be incorporated
    into your certificate request.
    What you are about to enter is what is called a Distinguished Name or a DN.
    There are quite a few fields but you can leave some blank
    For some fields there will be a default value,
    If you enter '.', the field will be left blank.
    -----
    1. Country Name             (2 letter code) [XY]:
    2. State or Province Name   (full name)     [Snake Desert]:
    3. Locality Name            (eg, city)      [Snake Town]:
    4. Organization Name        (eg, company)   [Snake Oil, Ltd]:
    5. Organizational Unit Name (eg, section)   [Certificate Authority]:
    6. Common Name              (eg, CA name)   [Snake Oil CA]:
    7. Email Address            (eg, name@FQDN) [[email protected]]:
    8. Certificate Validity     (days)          [365]:
    ______________________________________________________________________
    
    STEP 3: Generating X.509 certificate for CA signed by itself [ca.crt]
    Certificate Version (1 or 3) [3]:
    Signature ok
    subject=/C=XY/ST=Snake Desert/L=Snake Town/O=Snake Oil, Ltd/OU=Certificate Authority/CN=Snake Oil CA/emailAddress=[email protected]
    Getting Private key
    Verify: matching certificate & key modulus
    Verify: matching certificate signature
    ../conf/ssl.crt/ca.crt: /C=XY/ST=Snake Desert/L=Snake Town/O=Snake Oil, Ltd/OU=Certificate Authority/CN=Snake Oil CA/emailAddress=[email protected]
    error 18 at 0 depth lookup:self signed certificate
    OK
    ______________________________________________________________________
    
    STEP 4: Generating RSA private key for SERVER (1024 bit) [server.key]
    206488 semi-random bytes loaded
    Generating RSA private key, 1024 bit long modulus
    ...++++++
    ..........++++++
    e is 65537 (0x10001)
    ______________________________________________________________________
    
    STEP 5: Generating X.509 certificate signing request for SERVER [server.csr]
    You are about to be asked to enter information that will be incorporated
    into your certificate request.
    What you are about to enter is what is called a Distinguished Name or a DN.
    There are quite a few fields but you can leave some blank
    For some fields there will be a default value,
    If you enter '.', the field will be left blank.
    -----
    1. Country Name             (2 letter code) [XY]:
    2. State or Province Name   (full name)     [Snake Desert]:
    3. Locality Name            (eg, city)      [Snake Town]:
    4. Organization Name        (eg, company)   [Snake Oil, Ltd]:
    5. Organizational Unit Name (eg, section)   [Webserver Team]:
    6. Common Name              (eg, FQDN)      [www.snakeoil.dom]:
    7. Email Address            (eg, name@fqdn) [[email protected]]:
    8. Certificate Validity     (days)          [365]:
    ______________________________________________________________________
    
    STEP 6: Generating X.509 certificate signed by own CA [server.crt]
    Certificate Version (1 or 3) [3]:
    Signature ok
    subject=/C=XY/ST=Snake Desert/L=Snake Town/O=Snake Oil, Ltd/OU=Webserver Team/CN=www.snakeoil.dom/emailAddress=[email protected]
    Getting CA Private Key
    Verify: matching certificate & key modulus
    Verify: matching certificate signature
    ../conf/ssl.crt/server.crt: OK
    ______________________________________________________________________
    
    STEP 7: Enrypting RSA private key of CA with a pass phrase for security [ca.key]
    The contents of the ca.key file (the generated private key) has to be
    kept secret. So we strongly recommend you to encrypt the server.key file
    with a Triple-DES cipher and a Pass Phrase.
    Encrypt the private key now? [Y/n]: n
    Warning, you're using an unencrypted private key.
    Please notice this fact and do this on your own risk.
    ______________________________________________________________________
    
    STEP 8: Enrypting RSA private key of SERVER with a pass phrase for security [server.key]
    The contents of the server.key file (the generated private key) has to be
    kept secret. So we strongly recommend you to encrypt the server.key file
    with a Triple-DES cipher and a Pass Phrase.
    Encrypt the private key now? [Y/n]: n
    Warning, you're using an unencrypted RSA private key.
    Please notice this fact and do this on your own risk.
    ______________________________________________________________________
    
    RESULT: CA and Server Certification Files
    
    o  conf/ssl.key/ca.key
       The PEM-encoded RSA private key file of the CA which you can
       use to sign other servers or clients. KEEP THIS FILE PRIVATE!
    
    o  conf/ssl.crt/ca.crt
       The PEM-encoded X.509 certificate file of the CA which you use to
       sign other servers or clients. When you sign clients with it (for
       SSL client authentication) you can configure this file with the
       'SSLCACertificateFile' directive.
    
    o  conf/ssl.key/server.key
       The PEM-encoded RSA private key file of the server which you configure
       with the 'SSLCertificateKeyFile' directive (automatically done
       when you install via APACI). KEEP THIS FILE PRIVATE!
    
    o  conf/ssl.crt/server.crt
       The PEM-encoded X.509 certificate file of the server which you configure
       with the 'SSLCertificateFile' directive (automatically done
       when you install via APACI).
    
    o  conf/ssl.csr/server.csr
       The PEM-encoded X.509 certificate signing request of the server file which
       you can send to an official Certificate Authority (CA) in order
       to request a real server certificate (signed by this CA instead
       of our own CA) which later can replace the conf/ssl.crt/server.crt
       file.
    
    Congratulations that you establish your server with real certificates.
    
    Build complete.
    Don't forget to run 'make test'.
    
    Installing PHP SAPI module:       apache
    [activating module `php5' in /root/ispconfig/httpd/conf/httpd.conf]
    cp libs/libphp5.so /root/ispconfig/httpd/libexec/libphp5.so
    chmod 755 /root/ispconfig/httpd/libexec/libphp5.so
    cp /root/ispconfig/httpd/conf/httpd.conf /root/ispconfig/httpd/conf/httpd.conf.bak
    cp /root/ispconfig/httpd/conf/httpd.conf.new /root/ispconfig/httpd/conf/httpd.conf
    rm /root/ispconfig/httpd/conf/httpd.conf.new
    Installing PHP CLI binary:        /root/ispconfig/php/bin/
    Installing PHP CLI man page:      /root/ispconfig/php/man/man1/
    Installing build environment:     /root/ispconfig/php/lib/php/build/
    Installing header files:          /root/ispconfig/php/include/php/
    Installing helper programs:       /root/ispconfig/php/bin/
      program: phpize
      program: php-config
    Installing man pages:             /root/ispconfig/php/man/man1/
      page: phpize.1
      page: php-config.1
    Installing PDO headers:          /root/ispconfig/php/include/php/ext/pdo/
    /root/ispconfig/php/bin/php: error while loading shared libraries: libltdl.so.3: cannot open shared object file: No such file or directory
    ERROR: The PHP binary coming with ISPConfig does not work properly on your system! The installation routine stops here!
    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:
    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):xx.xx.xx.xx
    OK
    Please enter the host name (e.g. www):www 
    Please enter the domain (e.g. xyz.de):mydomain.com
    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...
    shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
    shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
    Shutting down postfix:                                     [  OK  ]
    shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
    Starting postfix:                                          [  OK  ]
    shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
    Shutting down proftpd:                                     [  OK  ]
    Starting proftpd:                                          [  OK  ]
    ./setup2: line 1163: /etc/rc.d/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://www.mydomain.com:81
    
    and log in:
    Username: admin
    Password: admin
    
    ./setup2: line 1189: cd: /usr/local/src/install_ispconfig/compile_aps/../..: No such file or directory
    [root@server2 install_ispconfig]# cp /var/log/ispconfig_install.log /var/www/html/log.log2 
     
  13. nocture

    nocture New Member

  14. hahni

    hahni New Member

    "ln -sf /bin/bash /bin/sh" was maybe the key...
     
  15. ZeroHour

    ZeroHour New Member

    I am having similar problems to the OP
     

Share This Page