Hello, I'm trying to install a multiserver using latest stable version of ispconfig with Debian 10 as OS. I'm having troubles while I'm trying to add a database server with my web server working only with apache service. (I followed all necessary steps from Debian 10 guide for this.) First installation of web server works good so I keep with the others. My trouble arrives at the end of installing ispconfig with my database server. After the step of configuring Fail2ban, I get these warnings followed by invalid user and error cron not found. PHP Warning: chown(): Unable to find uid for ispconfig in /tmp/ispconfig3_install/install/lib/installer_base.lib.php on line 2696 PHP Warning: chgrp(): Unable to find gid for ispconfig in /tmp/ispconfig3_install/install/lib/installer_base.lib.php on line 2697 chown: usuario inválido: «ispconfig:ispconfig» Configuring DBServer Installing ISPConfig crontab [ERROR] Cron not found Detect IP addresses Restarting services ... Installation completed. It looks as in this step is trying to give owner to the user ispconfig but it does not exist. I believe this could be the problem of why cron fails but I would like to know why the user is not created in this case and if I need to create manually, what path needs to access and with /usr/sbin/nologin ? Thanks for reading.
Which exact ISPConfig version do you install? And that ISPConfig is not able to add its users is really uncommon, check the passed and group file with the commands pwck and grpck for inconsistencies.
I followed the guide of "The Perfect Server - Debian 10 (Buster) with Apache, BIND, Dovecot, PureFTPD and ISPConfig 3.1" and "Multiserver Setup With Dedicated Web, Email, DNS & MySQL Database Servers On Debian Squeeze With ISPConfig 3". ISPConfig version: 3.1.15p3 I followed the steps of Multiserver guide but using the packages of The Perfect Server of Debian 10 guide.
I'm using ISPConfig version: 3.1.15p3 When you said about check the passed and group file, you mean this: /usr/sbin/pwck /etc/passwd /usr/sbin/grpck /etc/group Is this correct?
root@db:/# pwck user 'lp': directory '/var/spool/lpd' does not exist user 'news': directory '/var/spool/news' does not exist user 'uucp': directory '/var/spool/uucp' does not exist user 'www-data': directory '/var/www' does not exist user 'list': directory '/var/list' does not exist user 'irc': directory '/var/run/ircd' does not exist user 'gnats': directory '/var/lib/gnats' does not exist user 'nobody': directory '/nonexistent' does not exist user '_apt': directory '/nonexistent' does not exist user 'messagebus': directory '/nonexistent' does not exist user 'ntp': directory '/nonexistent' does not exist user 'mysql': directory '/nonexistent' does not exist pwck: no changes grpck does not return nothing.
I fixed this problem creating the user manually, previously of install ispconfig . Now I don't receive any error or warning and cron is working good with my db server. I took the line of ispconfig user from /etc/passwd and /etc/shadow from my main server and replicate to my db server. Thanks.