View Single Post
  #7  
Old 27th November 2011, 21:32
talkingnews talkingnews is offline
Member
 
Join Date: Jan 2011
Posts: 65
Thanks: 15
Thanked 5 Times in 5 Posts
Default

Thanks for your quick replies and time.

Quote:
Originally Posted by till View Post
Pleawe uninstall ispconfig with the uninstall script that is located in the same folder then install.php.
Well, php is already installed and running. Attempting to re-install tells me there's nothing to do. As I mentioned, if I just change the nginx user to ispconfig, I can get into the admin, add a site, all working perfectly.

But I uninstalled as you asked and then...

Quote:
Originally Posted by till View Post
Then install ispconfig again with the install.php script and check if ispconfig reports that nginx is configured or that apache is configured.
Again, same as before - it just went ahead and did it with 2 errors which were:

PHP Warning: symlink(): No such file or directory in /tmp/ispconfig3_install/install/lib/installer_base.lib.php on line 1519

which is
symlink($vhost_conf_dir.'/apps.vhost',$vhost_conf_enabled_dir.'/000-apps.vhost');

Also
PHP Warning: symlink(): No such file or directory in /tmp/ispconfig3_install/install/lib/installer_base.lib.php on line 1869

which is
symlink($vhost_conf_dir.'/ispconfig.vhost',$vhost_conf_enabled_dir.'/000-ispconfig.vhost');

And back to the same place as last time - access denied, unless I change the nginx user to match the user/group of the files it's trying to read.

Rather than post the log this time, I'll paste in the terminal output:

Code:
root@vmxxxxx:/tmp/ispconfig3_install/install# php -q install.php
PHP Deprecated:  Comments starting with '#' are deprecated in /etc/php5/cli/conf.d/ming.ini on line 1 in Unknown on line 0


--------------------------------------------------------------------------------
 _____ ___________   _____              __ _         ____
|_   _/  ___| ___ \ /  __ \            / _(_)       /__  \
  | | \ `--.| |_/ / | /  \/ ___  _ __ | |_ _  __ _    _/ /
  | |  `--. \  __/  | |    / _ \| '_ \|  _| |/ _` |  |_ |
 _| |_/\__/ / |     | \__/\ (_) | | | | | | | (_| | ___\ \
 \___/\____/\_|      \____/\___/|_| |_|_| |_|\__, | \____/
                                              __/ |
                                             |___/
--------------------------------------------------------------------------------


>> Initial configuration

Operating System: Debian or compatible, unknown version.

    Following will be a few questions for primary configuration so be careful.
    Default values are in [brackets] and can be accepted with <ENTER>.
    Tap in "quit" (without the quotes) to stop the installer.


Select language (en,de) [en]:

Installation mode (standard,expert) [standard]:

Full qualified hostname (FQDN) of the server, eg server1.domain.tld  [vmxxxxx.vps.xxxxx.com]:

MySQL server hostname [localhost]:

MySQL root username [root]:

MySQL root password []: xxxxx

MySQL database to create [dbispconfig]:

MySQL charset [utf8]:

Generating a 2048 bit RSA private key
..+++
.............................................................................................................................................+++
writing new private key to 'smtpd.key'
-----
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.
-----
Country Name (2 letter code) [AU]:
State or Province Name (full name) [Some-State]:
Locality Name (eg, city) []:
Organization Name (eg, company) [Internet Widgits Pty Ltd]:
Organizational Unit Name (eg, section) []:
Common Name (eg, YOUR name) []:
Email Address []:
Configuring Jailkit
Configuring SASL
Configuring PAM
Configuring Courier
Configuring Spamassassin
Configuring Amavisd
Configuring Getmail
Configuring Pureftpd
Configuring BIND
Configuring nginx
Configuring Vlogger
Configuring Apps vhost
PHP Warning:  symlink(): No such file or directory in /tmp/ispconfig3_install/install/lib/installer_base.lib.php on line 1519
Configuring Bastille Firewall
Configuring Fail2ban
Installing ISPConfig
ISPConfig Port [8080]:

Do you want a secure (SSL) connection to the ISPConfig web interface (y,n) [y]: y

Generating RSA private key, 4096 bit long modulus
.............................................++
...................................++
e is 65537 (0x10001)
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.
-----
Country Name (2 letter code) [AU]:
State or Province Name (full name) [Some-State]:
Locality Name (eg, city) []:
Organization Name (eg, company) [Internet Widgits Pty Ltd]:
Organizational Unit Name (eg, section) []:
Common Name (eg, YOUR name) []:
Email Address []:

Please enter the following 'extra' attributes
to be sent with your certificate request
A challenge password []:
An optional company name []:
writing RSA key
PHP Warning:  symlink(): No such file or directory in /tmp/ispconfig3_install/install/lib/installer_base.lib.php on line 1869
Configuring DBServer
Installing ISPConfig crontab
Restarting services ...
 * Stopping MySQL database server mysqld
   ...done.
 * Starting MySQL database server mysqld
   ...done.
 * Checking for tables which need an upgrade, are corrupt or were
not closed cleanly.
 * Stopping Postfix Mail Transport Agent postfix
   ...done.
 * Starting Postfix Mail Transport Agent postfix
   ...done.
 * Stopping SASL Authentication Daemon saslauthd
   ...done.
 * Starting SASL Authentication Daemon saslauthd
   ...done.
Stopping amavisd: (not running).
Starting amavisd: changed ownership of `/var/run/amavis' to amavis:amavis
amavisd-new.
 * Stopping ClamAV daemon clamd
   ...done.
 * Starting ClamAV daemon clamd
   ...done.
 * Stopping Courier authentication services authdaemond
/var/run/courier/authdaemon/pid.lock: No such file or directory
 * Stopping Courier IMAP server imapd
   ...done.
 * Starting Courier IMAP server imapd
   ...done.
 * Stopping Courier IMAP-SSL server imapd-ssl
   ...done.
 * Starting Courier IMAP-SSL server imapd-ssl
   ...done.
 * Stopping Courier POP3 server...
   ...done.
 * Starting Courier POP3 server...
   ...done.
 * Stopping Courier POP3-SSL server...
   ...done.
 * Starting Courier POP3-SSL server...
   ...done.
 * Reloading PHP5 FastCGI Process Manager php5-fpm
   ...done.
 * Reloading nginx nginx
   ...done.
Restarting ftp server: Running: /usr/sbin/pure-ftpd-mysql-virtualchroot -l mysql:/etc/pure-ftpd/db/mysql.conf -l pam -D -A -H -u 1000 -O clf:/var/l                                 og/pure-ftpd/transfer.log -b -8 UTF-8 -Y 1 -E -B
Installation completed.
root@vmxxxxx:/tmp/ispconfig3_install/install# nano /tmp/ispconfig3_install/install/lib/installer_base.lib.php

EDITED TO ADD:

Here's the last few lines of a site error, for example:

2011/11/27 20:41:44 [error] 4933#0: *25 open() "/var/www/xxx/web/error/403.html" failed (13: Permission denied), client: 91.x, server: xxx.co.uk, request: "GET /favicon.ico HTTP/1.1", host: "www.xxx.co.uk"

And in nginx's log is pretty much the same. Nothing related in php5-fpm log.

And here's what php5-fpm is doing
Code:
root      5289     1  3 20:45 ?        00:00:00 php-fpm: master process (/etc/php5/fpm/php-fpm.conf)
www-data  5290  5289  0 20:45 ?        00:00:00 php-fpm: pool www
www-data  5291  5289  0 20:45 ?        00:00:00 php-fpm: pool www
www-data  5292  5289  0 20:45 ?        00:00:00 php-fpm: pool www
www-data  5295  5289  0 20:45 ?        00:00:00 php-fpm: pool www
www-data  5296  5289  0 20:45 ?        00:00:00 php-fpm: pool www
www-data  5297  5289  0 20:45 ?        00:00:00 php-fpm: pool www
www-data  5298  5289  0 20:45 ?        00:00:00 php-fpm: pool www
www-data  5299  5289  0 20:45 ?        00:00:00 php-fpm: pool www
www-data  5300  5289  0 20:45 ?        00:00:00 php-fpm: pool www
www-data  5301  5289  0 20:45 ?        00:00:00 php-fpm: pool www
www-data  5302  5289  0 20:45 ?        00:00:00 php-fpm: pool www
www-data  5303  5289  0 20:45 ?        00:00:00 php-fpm: pool www
www-data  5304  5289  0 20:45 ?        00:00:00 php-fpm: pool www
www-data  5305  5289  0 20:45 ?        00:00:00 php-fpm: pool www
www-data  5306  5289  0 20:45 ?        00:00:00 php-fpm: pool www
www-data  5307  5289  0 20:45 ?        00:00:00 php-fpm: pool www
www-data  5308  5289  0 20:45 ?        00:00:00 php-fpm: pool www
www-data  5309  5289  0 20:45 ?        00:00:00 php-fpm: pool www
www-data  5310  5289  0 20:45 ?        00:00:00 php-fpm: pool www
www-data  5311  5289  0 20:45 ?        00:00:00 php-fpm: pool www
web1      5312  5289  0 20:45 ?        00:00:00 php-fpm: pool web1
web1      5313  5289  0 20:45 ?        00:00:00 php-fpm: pool web1
web1      5314  5289  0 20:45 ?        00:00:00 php-fpm: pool web1
web1      5315  5289  0 20:45 ?        00:00:00 php-fpm: pool web1
web1      5316  5289  0 20:45 ?        00:00:00 php-fpm: pool web1
web1      5317  5289  0 20:45 ?        00:00:00 php-fpm: pool web1
web1      5318  5289  0 20:45 ?        00:00:00 php-fpm: pool web1
web1      5319  5289  0 20:45 ?        00:00:00 php-fpm: pool web1
web1      5320  5289  0 20:45 ?        00:00:00 php-fpm: pool web1
web1      5321  5289  0 20:45 ?        00:00:00 php-fpm: pool web1
web1      5322  5289  0 20:45 ?        00:00:00 php-fpm: pool web1
web1      5323  5289  0 20:45 ?        00:00:00 php-fpm: pool web1
web1      5324  5289  0 20:45 ?        00:00:00 php-fpm: pool web1
web1      5325  5289  0 20:45 ?        00:00:00 php-fpm: pool web1
web1      5326  5289  0 20:45 ?        00:00:00 php-fpm: pool web1
web1      5327  5289  0 20:45 ?        00:00:00 php-fpm: pool web1
web1      5328  5289  0 20:45 ?        00:00:00 php-fpm: pool web1
web1      5329  5289  0 20:45 ?        00:00:00 php-fpm: pool web1
web1      5330  5289  0 20:45 ?        00:00:00 php-fpm: pool web1
web1      5331  5289  0 20:45 ?        00:00:00 php-fpm: pool web1
ispapps   5332  5289  0 20:45 ?        00:00:00 php-fpm: pool apps
ispapps   5333  5289  0 20:45 ?        00:00:00 php-fpm: pool apps
ispapps   5334  5289  0 20:45 ?        00:00:00 php-fpm: pool apps
ispapps   5335  5289  0 20:45 ?        00:00:00 php-fpm: pool apps
ispapps   5336  5289  0 20:45 ?        00:00:00 php-fpm: pool apps
ispapps   5337  5289  0 20:45 ?        00:00:00 php-fpm: pool apps
ispapps   5338  5289  0 20:45 ?        00:00:00 php-fpm: pool apps
ispapps   5339  5289  0 20:45 ?        00:00:00 php-fpm: pool apps
ispapps   5340  5289  0 20:45 ?        00:00:00 php-fpm: pool apps
ispapps   5341  5289  0 20:45 ?        00:00:00 php-fpm: pool apps
ispapps   5342  5289  0 20:45 ?        00:00:00 php-fpm: pool apps
ispapps   5343  5289  0 20:45 ?        00:00:00 php-fpm: pool apps
ispapps   5344  5289  0 20:45 ?        00:00:00 php-fpm: pool apps
ispapps   5345  5289  0 20:45 ?        00:00:00 php-fpm: pool apps
ispapps   5346  5289  0 20:45 ?        00:00:00 php-fpm: pool apps
ispapps   5347  5289  0 20:45 ?        00:00:00 php-fpm: pool apps
ispapps   5348  5289  0 20:45 ?        00:00:00 php-fpm: pool apps
ispapps   5349  5289  0 20:45 ?        00:00:00 php-fpm: pool apps
ispapps   5350  5289  0 20:45 ?        00:00:00 php-fpm: pool apps
ispapps   5351  5289  0 20:45 ?        00:00:00 php-fpm: pool apps
5003      5352  5289  0 20:45 ?        00:00:00 php-fpm: pool ispconfig
5003      5353  5289  0 20:45 ?        00:00:00 php-fpm: pool ispconfig
5003      5354  5289  0 20:45 ?        00:00:00 php-fpm: pool ispconfig
5003      5355  5289  0 20:45 ?        00:00:00 php-fpm: pool ispconfig
5003      5356  5289  0 20:45 ?        00:00:00 php-fpm: pool ispconfig
5003      5357  5289  0 20:45 ?        00:00:00 php-fpm: pool ispconfig
5003      5358  5289  0 20:45 ?        00:00:00 php-fpm: pool ispconfig
5003      5359  5289  0 20:45 ?        00:00:00 php-fpm: pool ispconfig
5003      5360  5289  0 20:45 ?        00:00:00 php-fpm: pool ispconfig
5003      5361  5289  0 20:45 ?        00:00:00 php-fpm: pool ispconfig
5003      5362  5289  0 20:45 ?        00:00:00 php-fpm: pool ispconfig
5003      5363  5289  0 20:45 ?        00:00:00 php-fpm: pool ispconfig
5003      5364  5289  0 20:45 ?        00:00:00 php-fpm: pool ispconfig
5003      5365  5289  0 20:45 ?        00:00:00 php-fpm: pool ispconfig
5003      5366  5289  0 20:45 ?        00:00:00 php-fpm: pool ispconfig
5003      5367  5289  0 20:45 ?        00:00:00 php-fpm: pool ispconfig
5003      5368  5289  0 20:45 ?        00:00:00 php-fpm: pool ispconfig
5003      5369  5289  0 20:45 ?        00:00:00 php-fpm: pool ispconfig
5003      5370  5289  0 20:45 ?        00:00:00 php-fpm: pool ispconfig
5003      5371  5289  0 20:45 ?        00:00:00 php-fpm: pool ispconfig

Last edited by talkingnews; 27th November 2011 at 21:53. Reason: Added info
Reply With Quote