Issue with Debian 10 Multiserver

Discussion in 'Installation/Configuration' started by Ecatec, Aug 8, 2020.

  1. Ecatec

    Ecatec New Member

    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.
     
  2. Taleman

    Taleman Well-Known Member HowtoForge Supporter

    Did you follow the ISPConfig Manual for the multiserver setup parts of the installation?
     
  3. till

    till Super Moderator Staff Member ISPConfig Developer

    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.
     
  4. Ecatec

    Ecatec New Member

    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.
     
    Last edited: Aug 8, 2020
  5. Ecatec

    Ecatec New Member

    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?
     
    Last edited: Aug 8, 2020
  6. till

    till Super Moderator Staff Member ISPConfig Developer

    Just run the commands:

    pwck

    and

    grpck
     
  7. Ecatec

    Ecatec New Member

    [email protected]:/# 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.
     
  8. Ecatec

    Ecatec New Member

    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.
     
    Last edited: Aug 10, 2020

Share This Page