CentOS 5.1 Server Setup: LAMP, Email, DNS, FTP, ISPConfig (a.k.a. The Perfect Server)

Discussion in 'HOWTO-Related Questions' started by madman045, Apr 29, 2008.

  1. madman045

    madman045 New Member

    Hi,

    Ive following the guide and eventually figured out how to download ISPconfig using Wget, running the installation of ispconfig and it's failed, but I think I know why

    I don't recall seeing anywhere in the guide about changeing/specifying repositories and im assuming it's using the default which is the DVD?

    I noticed that when trying to install several things, like PHP, it comes back with nothing to do

    Also in the guide when it comes to the encryption keys for the web part, the way i read the guide last night is that you can just enter nothing and continue, but it seems to be mandatory information of which i didnt really have anything to enter..

    At the moment my server is accessible via the internet and im trying to install this via Putty.

    Any suggestions/help?

    Thanks

    Andy
     
  2. falko

    falko Super Moderator Howtoforge Staff

    You don't have to set up any repositories - just try to follow the guide. :)

    This means that the packages are already installed.

    What encryption keys?
     
  3. madman045

    madman045 New Member

    Hi Falko,

    In the section "Postfix With SMTP-AUTH And TLS"

    you get to the section about creating certificates

    mkdir /etc/postfix/ssl
    cd /etc/postfix/ssl/
    openssl genrsa -des3 -rand /etc/hosts -out smtpd.key 1024

    chmod 600 smtpd.key
    openssl req -new -key smtpd.key -out smtpd.csr

    openssl x509 -req -days 3650 -in smtpd.csr -signkey smtpd.key -out smtpd.crt

    openssl rsa -in smtpd.key -out smtpd.key.unencrypted

    mv -f smtpd.key.unencrypted smtpd.key
    openssl req -new -x509 -extensions v3_ca -keyout cakey.pem -out cacert.pem -days 3650

    I entered all of that in Putty and it ran it, but then it asked for the usual create a certificate details (used to this from 2003 server)

    Im wondering as i tried to fill it in, the ISPconfig failed?
     
  4. madman045

    madman045 New Member

    update, this is as far as it gets, if I don't enter anything but just a dot . then it fails

    STEP 1: Generating RSA private key for CA (1024 bit) [ca.key]
    235616 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]]:.
    error, no objects specified in config file
    problems making Certificate Request
    mkcert.sh:Error: Failed to generate certificate signing request
    make[1]: *** [certificate] Error 1
    make[1]: Leaving directory `/root/install_ispconfig/compile_aps/apache_1.3.41/src'
    make: *** [certificate] Error 2
    ERROR: Could not make certificate for 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
    ./setup2: line 888: 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!
     
  5. falko

    falko Super Moderator Howtoforge Staff

    Please accept the default values, i.e., just press ENTER instead of a dot.
     

Share This Page