Page 1 of 1

Error installing on Ubuntu 18.04

Posted: Thu 22. Aug 2019, 22:12
by tom83
Hello,
I've tried to install KeyHelp on VULTR instance using fresh Ubuntu 18.04 and got this error:

Code: Select all

Installation is running:



Update sources list ...                     [OKAY]

Installation requirements ...               [OKAY]

Sudo ...                                    [OKAY]

Bind9 ...                                   [OKAY]

SSL/TLS ...                                 [OKAY]

PHP ...                                     [OKAY]

Apache web server ...                       [OKAY]

PHP-FPM ...                                 [OKAY]

MariaDB ...                                 [OKAY]

KeyHelp ...                                 [OKAY]

Firewall ...                                [OKAY]

SSH ...                                     [OKAY]

ProFTPD ...                                 [OKAY]

Postfix ...                                 [OKAY]

Dovecot ...                                 [OKAY]

OpenDKIM ...                                [OKAY]

Email protection ...                        [OKAY]

AWStats ...                                 [OKAY]

Fail2ban ...                                [ERROR]

Logrotate ...                               [ERROR]

PhpMyAdmin 4.9.0.1 ...                      [OKAY]

Adminer 4.7.1 ...                           [OKAY]

Roundcube 1.3.9 Multilanguage ...           [OKAY]

Rainloop 1.13.0 (Community Edition) ...     [OKAY]

Quota ...                                   [ERROR]

Apparmor ...                                [ERROR]

7-zip ...                                   [ERROR]

Hide LTS notice ...                         [OKAY]

Update message of the day ...               [OKAY]

Nano ...                                    [ERROR]

Curl ...                                    [ERROR]

NTP ...                                     [ERROR]

Cron daemon ...                             [ERROR]



Errors occurred during installation!



For more information, see the log file:

/var/log/keyhelp/install.log



If you need help, please visit our multilingual support community:

https://community.keyhelp.de



You will find your login information on your server in the file:

/root/keyhelp_login_data_2019-08-22_19-26-57


----------
Here are the file /var/log/keyhelp/install.log :

Code: Select all




   _  __          _   _     _    (R)
  | |/ /___ _   _| |_| |___| |___  
  | | /  -_) |_/ |  _  | -_) | _ \ 
  |_|\_\___|\__, |_| |_|___|_|  _/ Your Administration-Panel
=========== |___/ ========== |_| =========================================

Here you can customize installation parameters.

  Server data
    1) Hostname (FQDN):             keyhelp.mydomain.com

  Administrator account
    2) Username:                     keyadmin
    3) Password:                     mypassHere
    4) Email address:                my@mailaddress

  Server data
    5) Notification after finishing: No


- Available actions ------------------------------------------------------

  S)   Start install
  1-5) Edit data
  Q)   Quit install

Choose action [4]: S


   _  __          _   _     _    (R)
  | |/ /___ _   _| |_| |___| |___  
  | | /  -_) |_/ |  _  | -_) | _ \ 
  |_|\_\___|\__, |_| |_|___|_|  _/ Your Administration-Panel
=========== |___/ ========== |_| =========================================

Installation is running:

Update sources list ...                     [OKAY]
Installation requirements ...               [OKAY]
Sudo ...                                    [OKAY]
Bind9 ...                                   [OKAY]
SSL/TLS ...                                 [OKAY]
PHP ...                                     [OKAY]
Apache web server ...                       [OKAY]
PHP-FPM ...                                 [OKAY]
MariaDB ...                                 [OKAY]
KeyHelp ...                                 [OKAY]
Firewall ...                                [OKAY]
SSH ...                                     [OKAY]
ProFTPD ...                                 [OKAY]
Postfix ...                                 [OKAY]
Dovecot ...                                 [OKAY]
OpenDKIM ...                                [OKAY]
Email protection ...                        [OKAY]
AWStats ...                                 [OKAY]
Fail2ban ...                                [ERROR]
Logrotate ...                               [ERROR]
PhpMyAdmin 4.9.0.1 ...                      [OKAY]
Adminer 4.7.1 ...                           [OKAY]
Roundcube 1.3.9 Multilanguage ...           [OKAY]
Rainloop 1.13.0 (Community Edition) ...     [OKAY]
Quota ...                                   [ERROR]
Apparmor ...                                [ERROR]
7-zip ...                                   [ERROR]
Hide LTS notice ...                         [OKAY]
Update message of the day ...               [OKAY]
Nano ...                                    [ERROR]
Curl ...                                    [ERROR]
NTP ...                                     [ERROR]
Cron daemon ...                             [ERROR]

Errors occurred during installation!

For more information, see the log file:
/var/log/keyhelp/install.log

If you need help, please visit our multilingual support community:
https://community.keyhelp.de

You will find your login information on your server in the file:
/root/keyhelp_login_data_2019-08-22_19-26-57

!!! Attention !!! The system will reboot in a few seconds (Cancel with CRTL+C).: 0 

Connection to 136.244.84.54 closed by remote host.
Connection to 136.244.84.54 closed.
MacBook-Pro-de-Tom:~ tom$ ssh root@136.244.84.54
root@136.244.84.54's password: 
Welcome to Ubuntu 18.04.2 LTS (GNU/Linux 4.15.0-55-generic x86_64)

 * Documentation:  https://help.ubuntu.com
 * Management:     https://landscape.canonical.com
 * Support:        https://ubuntu.com/advantage

  System information as of Thu Aug 22 19:35:31 UTC 2019

  System load:  0.08               Processes:           110
  Usage of /:   12.3% of 24.55GB   Users logged in:     0
  Memory usage: 50%                IP address for ens3: 136.244.84.54
  Swap usage:   0%


  This server is powered by KeyHelp!
  * Panel access:
      https://keyhelp.mydomain.com/ or https://136.244.84.54/
  * Login data:
      /root/keyhelp_login_data_2019-08-22_19-26-57

21 packages can be updated.
9 updates are security updates.


Last login: Thu Aug 22 19:15:08 2019 from 131.100.93.59
root@keyhelp:~# vi /var/log/keyhelp/install.log
root@keyhelp:~# packet_write_wait: Connection to 136.244.84.54 port 22: Broken pipe
MacBook-Pro-de-Tom:~ Tom$ ssh root@136.244.84.54
root@136.244.84.54's password: 
Welcome to Ubuntu 18.04.2 LTS (GNU/Linux 4.15.0-55-generic x86_64)

 * Documentation:  https://help.ubuntu.com
 * Management:     https://landscape.canonical.com
 * Support:        https://ubuntu.com/advantage

  System information as of Thu Aug 22 19:53:59 UTC 2019

  System load:  0.01               Processes:           111
  Usage of /:   12.3% of 24.55GB   Users logged in:     1
  Memory usage: 55%                IP address for ens3: 136.244.84.54
  Swap usage:   0%


  This server is powered by KeyHelp!
  * Panel access:
      https://keyhelp.mydomain.com/ or https://136.244.84.54/
  * Login data:
      /root/keyhelp_login_data_2019-08-22_19-26-57

21 packages can be updated.
9 updates are security updates.


Last login: Thu Aug 22 19:35:33 2019 from 131.100.93.59
root@keyhelp:~# 
root@keyhelp:~# 
root@keyhelp:~# vi /root/keyhelp_login_data_2019-08-22_19-26-57
root@keyhelp:~# vi /var/log/keyhelp/install.log
root@keyhelp:~# vi /var/log/keyhelp/install.log
root@keyhelp:~# vi /var/log/keyhelp/install.log
root@keyhelp:~# vi /var/log/keyhelp/install.log
root@keyhelp:~# vi /var/log/keyhelp/install.log

  [SKIPPED DUE PREVIOUS ERRORS] exec  | ntpdate -u ntp.ubuntu.com
  [SKIPPED DUE PREVIOUS ERRORS] exec  | apt-get install -y ntp


================================================================================
  Cron daemon
================================================================================

  exec  | apt-get install -y cron
          Reading package lists...FATAL -> Failed to fork.

  >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
  >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> ERROR DETECTED <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
  <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<


  [SKIPPED DUE PREVIOUS ERRORS] files | cron/keyhelp => /etc/cron.d/keyhelp

  [SKIPPED DUE PREVIOUS ERRORS] exec  | chmod 0644 /etc/cron.d/keyhelp


################################################################################
################################################################################

=> Errors occurred during installation. <=

Finished install: 2019-08-22 19:26:57
Duration: 298 second(s)

Re: Error installing on Ubuntu 18.04

Posted: Thu 22. Aug 2019, 23:08
by nikko
Pls show us

Code: Select all

     /var/log/keyhelp/install.log 
Which virtualization is used?

KH only supports KVM, OpenVZ, dedicated.

Re: Error installing on Ubuntu 18.04

Posted: Fri 23. Aug 2019, 00:02
by tom83
It's using KVM on VULTR.com Cloud instance.
I've posted the log file above.
(Now I've deleted this server and will try to install again)

Re: Error installing on Ubuntu 18.04

Posted: Fri 23. Aug 2019, 00:15
by tom83
I've installed again on a fresh Ubuntu server and now worked fine the installation.

(I put "SUDO" on the installation code, not sure if was that the problem, but now worked without errors)
SUDO wget https://install.keyhelp.de/get_keyhelp.php -O installkeyhelp.sh ; bash installkeyhelp.sh ;

Re: Error installing on Ubuntu 18.04

Posted: Wed 30. Oct 2019, 21:41
by tom83
Hi,

I'm trying to install KeyHelp on a new fresh Ubuntu server and getting errors (AWStats, Fail2ban, Logrotate).
Using Ubuntu 18.04, KVM, on vultr.com instances.

I tried to install it 3 times. I also tried with "sudo" command and still problem. Here install log:

Code: Select all

=========== |___/ ========== |_| =========================================

Here you can customize installation parameters.

  Server data
    1) Hostname (FQDN):              testek.getcon.com.br

  Administrator account
    2) Usuário:                      administrador
    3) Senha:                        nX1ufhAQSXd84Acy
    4) Email:                        root@testek.getcon.com.br

  Server data
    5) Notification after finishing: suporte@getcon.com.br


- Available actions ------------------------------------------------------

  S)   Start install
  1-5) Edit data
  Q)   Quit install

Choose action [4]: S

   _  __          _   _     _    (R)
  | |/ /___ _   _| |_| |___| |___  
  | | /  -_) |_/ |  _  | -_) | _ \ 
  |_|\_\___|\__, |_| |_|___|_|  _/ Seu painel de administração
=========== |___/ ========== |_| =========================================

Installation is running:

Update sources list ...                     [OKAY]
Installation requirements ...               [OKAY]
Sudo ...                                    [OKAY]
Bind9 ...                                   [OKAY]
SSL/TLS ...                                 [OKAY]
PHP ...                                     [OKAY]
Apache web server ...                       [OKAY]
PHP-FPM ...                                 [OKAY]
MariaDB ...                                 [OKAY]
KeyHelp ...                                 [OKAY]
Firewall ...                                [OKAY]
SSH ...                                     [OKAY]
ProFTPD ...                                 [OKAY]
Postfix ...                                 [OKAY]
Dovecot ...                                 [OKAY]
OpenDKIM ...                                [OKAY]
Email protection ...                        [OKAY]
AWStats ...                                 [ERROR]
Fail2ban ...                                [ERROR]
Logrotate ...                               [ERROR]
PhpMyAdmin 4.9.1 ...                        [OKAY]
Adminer 4.7.4 ...                           [OKAY]
Roundcube 1.3.10 Multilanguage ...          [OKAY]
Rainloop 1.13.0 (Community Edition) ...     [OKAY]
Quota ...                                   [OKAY]
Apparmor ...                                [OKAY]
7-zip ...                                   [OKAY]
Hide LTS notice ...                         [OKAY]
Update message of the day ...               [OKAY]
Nano ...                                    [OKAY]
Curl ...                                    [OKAY]
NTP ...                                     [OKAY]
Cron daemon ...                             [OKAY]

Errors occurred during installation!

For more information, see the log file:
/var/log/keyhelp/install.log

If you need help, please visit our multilingual support community:
https://community.keyhelp.de

You will find your login information on your server in the file:
/root/keyhelp_login_data_2019-10-30_20-35-17

!!! Atenção !!! The system will reboot in a few seconds (Cancel with CRTL+C).: 22^C
root@testek:~#  vi /var/log/keyhelp/install.log

          Preparing to unpack .../awstats_7.6+dfsg-2_all.deb ...
          Unpacking awstats (7.6+dfsg-2) ...
          Setting up awstats (7.6+dfsg-2) ...
          Processing triggers for man-db (2.8.3-2ubuntu0.1) ...
          FATAL -> Failed to fork.

  >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
  >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> ERROR DETECTED <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
  <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<

  [SKIPPED DUE PREVIOUS ERRORS] exec  | rm -f /etc/cron.d/awstats
  [SKIPPED DUE PREVIOUS ERRORS] exec  | rm -f /etc/awstats/awstats.conf


================================================================================
  Fail2ban
================================================================================

  exec  | apt-get install -y fail2ban
          Reading package lists...FATAL -> Failed to fork.

  >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
  >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> ERROR DETECTED <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
  <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<

  [SKIPPED DUE PREVIOUS ERRORS] files | fail2ban/jail.d/keyhelp.local => /etc/fail2ban/jail.d/keyhelp.local
  [SKIPPED DUE PREVIOUS ERRORS] files | fail2ban/filter.d/keyhelp-phpmyadmin.conf => /etc/fail2ban/filter.d/keyhelp-phpmyadmin.conf

  [SKIPPED DUE PREVIOUS ERRORS] exec  | service fail2ban restart

================================================================================
  Logrotate
================================================================================

  exec  | apt-get install -y logrotate
          Reading package lists...FATAL -> Failed to fork.

  >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
  >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> ERROR DETECTED <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
  <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<


  [SKIPPED DUE PREVIOUS ERRORS] files | logrotate/keyhelp-apache => /etc/logrotate.d/keyhelp-apache







Re: Error installing on Ubuntu 18.04

Posted: Wed 30. Oct 2019, 22:37
by Jolinar
tom83 wrote: Wed 30. Oct 2019, 21:41 Here install log:
That's not the install log.
Look here:

Code: Select all

For more information, see the log file:
/var/log/keyhelp/install.log

Re: Error installing on Ubuntu 18.04

Posted: Thu 31. Oct 2019, 00:01
by Alexander
Jolinar wrote: Wed 30. Oct 2019, 22:37 That's not the install log.
You need to scroll down ;). Its all inside of the code box.

"FATAL -> Failed to fork."

@tom83, you may run out of memory. Do you have enough free memory available on your system?

Re: Error installing on Ubuntu 18.04

Posted: Thu 31. Oct 2019, 00:27
by Jolinar
Alexander wrote: Thu 31. Oct 2019, 00:01 You need to scroll down ;). Its all inside of the code box.
Oh sorry, my mistake. I've only seen the output from the install script in the top of the code box. :?

Re: Error installing on Ubuntu 18.04

Posted: Thu 31. Oct 2019, 14:24
by tom83
1 GB RAM, 25 GB SSD, 1 TB traffic

What could be wrong?

Re: Error installing on Ubuntu 18.04

Posted: Thu 31. Oct 2019, 15:50
by nikko
Maybe that no Swap is installed, so you get OOM. Pls. use more than 1 GB