HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   HOWTO-Related Questions (http://www.howtoforge.com/forums/forumdisplay.php?f=2)
-   -   CentOS 5.1 Server Setup: LAMP, Email, DNS, FTP, ISPConfig (a.k.a. The Perfect Server) (http://www.howtoforge.com/forums/showthread.php?t=22812)

madman045 29th April 2008 14:11

CentOS 5.1 Server Setup: LAMP, Email, DNS, FTP, ISPConfig (a.k.a. The Perfect Server)
 
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

falko 30th April 2008 15:57

Quote:

Originally Posted by madman045
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?

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

Quote:

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

This means that the packages are already installed.

Quote:

Originally Posted by madman045
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..

What encryption keys?

madman045 30th April 2008 20:03

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?

madman045 30th April 2008 20:40

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) [ca@snakeoil.dom]:.
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!

falko 1st May 2008 20:45

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


All times are GMT +2. The time now is 16:18.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.