Hi,
The install script kept failing on kimsufi servers (debian 9), output :
Welcome to ISPConfig Setup Script v.3.0.3.1
This software is developed by Temporini Matteo
with the support of the community.
You can visit my website at the followings URLs
http://www.servisys.it http://www.temporini.net
and contact me with the following information
contact email/Hangouts: temporini.matteo@gmail.com
Skype: matteo.temporini
=========================================
ISPConfig 3 System installer
=========================================
This script will do a nearly unattended installation of
all software needed to run ISPConfig 3.
When this script starts running, it will keep going all the way
So, before you continue, please make sure the following checklist is ok:
- This is a clean standard clean installation for supported systems
- Internet connection is working properly
The detected Linux Distribution is: Debian GNU/Linux 9 (stretch)
Processor (CPU): Intel(R) Xeon(R) CPU W3520 @ 2.67GHz
CPU Cores: 8
Architecture: x86_64 (64-bit)
Total memory (RAM): 16,078 MiB (16,859 MB)
Total swap space: 509 MiB (534 MB)
Graphics Processor (GPU): Matrox Electronics Systems Ltd. MGA G200eW WPCM450 (rev 0a)
Computer name: ns382290
Hostname: ns382290.ip-46-105-99.eu
IPv4 addresses: 46.105.99.50 2001:41d0:2:d232::1
Time zone: Etc/UTC (UTC, +0000)
Installing for this Linux Distribution: debian9
Is this correct? (y/n) y
Preparing to install... [DONE]
Updating apt package database and upgrading currently installed packages... [DONE]
Installing basic packages (OpenSSH server, NTP, binutils, etc.)... [DONE]
Installing Database server (MariaDB)... [DONE]
Restarting MariaDB... [DONE]
Installing Web server (nginx) and modules... [DONE]
Installing PHP-FPM... [DONE]
Installing needed programs for PHP and nginx (mcrypt, etc.)... [DONE]
Reloading PHP-FPM... [DONE]
Installing fcgiwrap... [DONE]
Installing phpMyAdmin... Reading package lists...
Building dependency tree...
Reading state information...
The following additional packages will be installed:
dbconfig-common dbconfig-mysql libjs-jquery libjs-sphinxdoc libjs-underscore
php-mysql php-phpseclib
Suggested packages:
php-libsodium php-gmp www-browser
Recommended packages:
javascript-common php-bz2 php-tcpdf
The following NEW packages will be installed:
dbconfig-common dbconfig-mysql libjs-jquery libjs-sphinxdoc libjs-underscore
php-mysql php-phpseclib phpmyadmin
0 upgraded, 8 newly installed, 0 to remove and 0 not upgraded.
Need to get 5,002 kB of archives.
After this operation, 28.5 MB of additional disk space will be used.
Get:1 http://debian.mirrors.ovh.net/debian stretch/main amd64 dbconfig-common all 2.0.8 [617 kB]
Get:2 http://security.debian.org/debian-security stretch/updates/main amd64 libjs-jquery all 3.1.1-2+deb9u2 [154 kB]
Get:3 http://security.debian.org/debian-security stretch/updates/main amd64 libjs-underscore all 1.8.3~dfsg-1+deb9u1 [64.3 kB]
Get:4 http://security.debian.org/debian-security stretch/updates/main amd64 phpmyadmin all 4:4.6.6-4+deb9u2 [3,913 kB]
Get:5 http://debian.mirrors.ovh.net/debian stretch/main amd64 dbconfig-mysql all 2.0.8 [996 B]
Get:6 http://debian.mirrors.ovh.net/debian stretch/main amd64 libjs-sphinxdoc all 1.4.9-2 [69.5 kB]
Get:7 http://debian.mirrors.ovh.net/debian stretch/main amd64 php-mysql all 1:7.0+49 [5,052 B]
Get:8 http://debian.mirrors.ovh.net/debian stretch/main amd64 php-phpseclib all 2.0.4-1 [178 kB]
Preconfiguring packages ...
Fetched 5,002 kB in 0s (11.4 MB/s)
Selecting previously unselected package dbconfig-common.
(Reading database ... 28219 files and directories currently installed.)
Preparing to unpack .../0-dbconfig-common_2.0.8_all.deb ...
Unpacking dbconfig-common (2.0.8) ...
Selecting previously unselected package dbconfig-mysql.
Preparing to unpack .../1-dbconfig-mysql_2.0.8_all.deb ...
Unpacking dbconfig-mysql (2.0.8) ...
Selecting previously unselected package libjs-jquery.
Preparing to unpack .../2-libjs-jquery_3.1.1-2+deb9u2_all.deb ...
Unpacking libjs-jquery (3.1.1-2+deb9u2) ...
Selecting previously unselected package libjs-underscore.
Preparing to unpack .../3-libjs-underscore_1.8.3~dfsg-1+deb9u1_all.deb ...
Unpacking libjs-underscore (1.8.3~dfsg-1+deb9u1) ...
Selecting previously unselected package libjs-sphinxdoc.
Preparing to unpack .../4-libjs-sphinxdoc_1.4.9-2_all.deb ...
Unpacking libjs-sphinxdoc (1.4.9-2) ...
Selecting previously unselected package php-mysql.
Preparing to unpack .../5-php-mysql_1%3a7.0+49_all.deb ...
Unpacking php-mysql (1:7.0+49) ...
Selecting previously unselected package php-phpseclib.
Preparing to unpack .../6-php-phpseclib_2.0.4-1_all.deb ...
Unpacking php-phpseclib (2.0.4-1) ...
Selecting previously unselected package phpmyadmin.
Preparing to unpack .../7-phpmyadmin_4%3a4.6.6-4+deb9u2_all.deb ...
Unpacking phpmyadmin (4:4.6.6-4+deb9u2) ...
Setting up libjs-jquery (3.1.1-2+deb9u2) ...
Setting up php-phpseclib (2.0.4-1) ...
Setting up libjs-underscore (1.8.3~dfsg-1+deb9u1) ...
Setting up libjs-sphinxdoc (1.4.9-2) ...
Processing triggers for man-db (2.7.6.1-2) ...
Processing triggers for hicolor-icon-theme (0.15-1) ...
Setting up dbconfig-common (2.0.8) ...
Creating config file /etc/dbconfig-common/config with new version
Setting up php-mysql (1:7.0+49) ...
Setting up dbconfig-mysql (2.0.8) ...
Setting up phpmyadmin (4:4.6.6-4+deb9u2) ...
Installing FTP server (Pure-FTPd)... Generating a RSA private keysuccess. creation ne...............................................................................+++++
......................+++++
writing new private key to '/etc/ssl/private/pure-ftpd.pem'
-----
[DONE]
Restarting Pure-FTPd... [DONE]
Installing Webmail client (Roundcube)... Installing Webmail client Plugins (Roundcube)... [DONE]
Restarting nginx... Job for nginx.service failed because the control process exited with error code.
See "systemctl status nginx.service" and "journalctl -xe" for details.
[DONE]
Installing SMTP Mail server (Postfix)... [DONE]
Restarting Postfix... [DONE]
Installing POP3/IMAP Mail server (Dovecot) and Mail signing (OpenDKIM, OpenDMARC)... [DONE]
Installing Antivirus utilities (Amavisd-new, ClamAV), Spam filtering (SpamAssassin), Greylisting (Postgrey) and Rootkit detection (rkhunter)... (This may take awhile. Do not abort it...) [DONE]
Stopping SpamAssassin... [DONE]
Disabling SpamAssassin... [DONE]
Updating Freshclam Antivirus Database. Please Wait... ERROR: Problem with internal logger (UpdateLogFile = /var/log/clamav/freshclam.log).
ERROR: initialize: libfreshclam init failed.
ERROR: Initialization error!
ERROR: /var/log/clamav/freshclam.log is locked by another process
[DONE]
Restarting ClamAV... [DONE]
Installing DNS server (Bind)... [DONE]
Installing haveged... [DONE]
Installing Statistics (Webalizer and AWStats)... [DONE]
Installing Intrusion protection (Fail2Ban)... [DONE]
Restarting Fail2Ban... [DONE]
Installing Firewall (UFW)... [DONE]
Installing ISPConfig3...
Create INI file
--------------------------------------------------------------------------------
_____ ___________ _____ __ _ ____
|_ _/ ___| ___ \ / __ \ / _(_) /__ \
| | \ `--.| |_/ / | / \/ ___ _ __ | |_ _ __ _ _/ /
| | `--. \ __/ | | / _ \| '_ \| _| |/ _` | |_ |
_| |_/\__/ / | | \__/\ (_) | | | | | | | (_| | ___\ \
\___/\____/\_| \____/\___/|_| |_|_| |_|\__, | \____/
__/ |
|___/
--------------------------------------------------------------------------------
>> Initial configuration
The patch command is missing. Install patch command and start installation again.Restarting nginx... Restarting nginx (via systemctl): nginx.serviceJob for nginx.service failed because the control process exited with error code.
See "systemctl status nginx.service" and "journalctl -xe" for details.
failed!
[DONE]
Restarting Amavisd... [DONE]
ERROR 1049 (42000): Unknown database 'dbispconfig'
sed: can't read /etc/php/7.0/apache2/php.ini: No such file or directory
nginx.service is not active, cannot reload.
Well done! ISPConfig installed and configured correctly :D 😃
Now you can access to your ISPConfig installation at: https://ns382290.ip-46-105-99.eu:8080 or https://46.105.99.50:8080
The default ISPConfig Username is: admin
and the Password is: admin
Warning: This is a security risk. Please change the default password after your first login.
You will need to edit the username and password in /var/lib/roundcube/plugins/ispconfig3_account/config/config.inc.php of the roundcube user, as the one you set in ISPconfig (under System > remote users)
phpMyAdmin is accessible at: http://ns382290.ip-46-105-99.eu:8081/phpmyadmin or http://46.105.99.50:8081/phpmyadmin
Webmail is accessible at: http://ns382290.ip-46-105-99.eu:8081/webmail or http://46.105.99.50:8081/webmail
You can visit the GitHub repository at: https://github.com/servisys/ispconfig_setup/
If you need support or have questions, ask here: https://www.howtoforge.com/community/#ispconfig-3.23
Please report any errors or issues with this auto installer script at: https://github.com/servisys/ispconfig_setup/issues and with ISPConfig at: https://git.ispconfig.org/ispconfig/ispconfig3/issues
root@ns382290:/tmp/servisys-ispconfig_setup-beb41cb# /etc/init.d/nginx status
● nginx.service - A high performance web server and a reverse proxy server
Loaded: loaded (/lib/systemd/system/nginx.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Wed 2021-05-12 19:34:02 UTC; 12min ago
Docs: man:nginx(8)
Process: 17664 ExecStartPre=/usr/sbin/nginx -t -q -g daemon on; master_process on; (code=exited, status=1/FAILURE)
Main PID: 5860 (code=exited, status=0/SUCCESS)
May 12 19:34:01 ns382290 systemd[1]: Starting A high performance web server and a reverse proxy server...
May 12 19:34:02 ns382290 nginx[17664]: nginx: [emerg] BIO_new_file("/usr/local/ispconfig/interface/ssl/ispserver.crt") failed (SSL: error:02001002:system libra…no such file)
May 12 19:34:02 ns382290 nginx[17664]: nginx: configuration file /etc/nginx/nginx.conf test failed
May 12 19:34:02 ns382290 systemd[1]: nginx.service: Control process exited, code=exited status=1
May 12 19:34:02 ns382290 systemd[1]: Failed to start A high performance web server and a reverse proxy server.
May 12 19:34:02 ns382290 systemd[1]: nginx.service: Unit entered failed state.
May 12 19:34:02 ns382290 systemd[1]: nginx.service: Failed with result 'exit-code'.
May 12 19:34:03 ns382290 systemd[1]: nginx.service: Unit cannot be reloaded because it is inactive.
Hint: Some lines were ellipsized, use -l to show in full.
patch not being installed caused some parts of the install to fail silently while other worked, this seem to be fixed with installing it in the basics.
Hi, The install script kept failing on kimsufi servers (debian 9), output :
patch not being installed caused some parts of the install to fail silently while other worked, this seem to be fixed with installing it in the basics.
Cheers,