vlibTemplate Error: Template (rspamd_users.conf.master) file not found. [SOLVED]

Discussion in 'General' started by Ante-Florian, Sep 12, 2019.

  1. Ante-Florian

    Ante-Florian New Member

    Hi there!
    Currently i'm struggling with the last update of ISPConfig 3.1.15 on Debian Buster.
    My Jobqueue didn't update and do any changes to the system. In my investigation, i call the server.sh script manually and get the following error:
    Code:
    root@localhost: ./server.sh
    12.09.2019-05:36 - WARNING - There is already a lockfile set, but no process running with this pid (7576). Continuing.
    vlibTemplate Error: Template (rspamd_users.conf.master) file not found.
    The lockfile is save to ignore, but the vlibTemplate Error not. I check the SVN and find this file under "install/tpl/rspamd_users.conf.master"
    I downloaded the ISPConfig3 package again and run "php -q update.php" to force reconfiguration in hope, the missing file will be copied to the right location. But the issue is stile there.
    btw: I also increase the updated column in the ispconfig database, but this only fix the counter on the web interface and do not anything changes to the server.
    The file install/lib/installer_base.lib.php call at line 1470 rspamd_users.conf.master. But i'm currently not able to find the right location on a running system. What are the next steps to fix this issue?

    Code:
    ##### SERVER #####
    IP-address (as per hostname): ***.***.***.***
    [WARN] could not determine server's ip address by ifconfig
    [INFO] ISPConfig is installed.
    
    ##### ISPCONFIG #####
    ISPConfig version is 3.1.15
    
    
    ##### VERSION CHECK #####
    
    [INFO] php (cli) version is 7.3.4-2
    
    ##### PORT CHECK #####
    
    [WARN] Port 21 (FTP server) seems NOT to be listening
    
    ##### MAIL SERVER CHECK #####
    
    
    ##### RUNNING SERVER PROCESSES #####
    
    [INFO] I found the following web server(s):
            Unknown process (nginx:) (PID 1119)
    [INFO] I found the following mail server(s):
            Postfix (PID 8523)
    [INFO] I found the following pop3 server(s):
            Dovecot (PID 8812)
    [INFO] I found the following imap server(s):
            Dovecot (PID 8812)
    [WARN] I could not determine which ftp server is running.
    ##### LISTENING PORTS #####
    (only           ()
    Local           (Address)
    [localhost]:993         (8812/dovecot)
    ***.***.***.***:993             (8812/dovecot)
    [localhost]:995         (8812/dovecot)
    ***.***.***.***:995             (8812/dovecot)
    [localhost]:11332               (960/rspamd:)
    [localhost]:11333               (960/rspamd:)
    [anywhere]:10022                (1418/./ts3server)
    [localhost]:11334               (960/rspamd:)
    [localhost]:10023               (1014/postgrey)
    [localhost]:10024               (6942/amavisd-new)
    [localhost]:10025               (8523/master)
    [localhost]:10026               (6942/amavisd-new)
    [localhost]:10027               (8523/master)
    [anywhere]:587          (8523/master)
    [localhost]:6379                (973/redis-server)
    [localhost]:11211               (898/memcached)
    [localhost]:110         (8812/dovecot)
    ***.***.***.***:110             (8812/dovecot)
    [localhost]:143         (8812/dovecot)
    ***.***.***.***:143             (8812/dovecot)
    ***.***.***.***:80              (1119/nginx:)
    ***.***.***.***:8080            (1119/nginx:)
    [anywhere]:465          (8523/master)
    [anywhere]:30033                (1418/./ts3server)
    ***.***.***.***:8081            (1119/nginx:)
    ***.***.***.***:53              (7001/named)
    ***.***.***.***:53              (7001/named)
    [localhost]:53          (7001/named)
    ***.***.***.***:22              (956/sshd)
    [anywhere]:25           (8523/master)
    [localhost]:953         (7001/named)
    [anywhere]:10011                (1418/./ts3server)
    ***.***.***.***:443             (1119/nginx:)
    *:*:*:*::*:993          (8812/dovecot)
    *:*:*:*::*:993          (8812/dovecot)
    *:*:*:*::*:995          (8812/dovecot)
    *:*:*:*::*:995          (8812/dovecot)
    [localhost]0022         (1418/./ts3server)
    *:*:*:*::*:10024                (6942/amavisd-new)
    *:*:*:*::*:10026                (6942/amavisd-new)
    *:*:*:*::*:3306         (6647/mysqld)
    *:*:*:*::*:587          (8523/master)
    *:*:*:*::*:6379         (973/redis-server)
    *:*:*:*::*:110          (8812/dovecot)
    *:*:*:*::*:110          (8812/dovecot)
    *:*:*:*::*:143          (8812/dovecot)
    *:*:*:*::*:143          (8812/dovecot)
    *:*:*:*::*2:80          (1119/nginx:)
    *:*:*:*::*8080          (1119/nginx:)
    *:*:*:*::*:465          (8523/master)
    *:*:*:*::*:30033                (1418/./ts3server)
    *:*:*:*::*8081          (1119/nginx:)
    *:*:*:*::*:53           (7001/named)
    *:*:*:*::*2:22          (956/sshd)
    *:*:*:*::*:25           (8523/master)
    *:*:*:*::*:953          (7001/named)
    [localhost]0011         (1418/./ts3server)
    *:*:*:*::*:443          (1119/nginx:)
    ##### IPTABLES #####
    Chain INPUT (policy ACCEPT)
    target     prot opt source               destination
    f2b-dovecot  tcp  --  [anywhere]/0            [anywhere]/0            multiport dports 110,995,143,993,587,465,4190
    f2b-postfix-sasl  tcp  --  [anywhere]/0            [anywhere]/0            multiport dports 25
    f2b-sshd   tcp  --  [anywhere]/0            [anywhere]/0            multiport dports 22
    
    Chain FORWARD (policy ACCEPT)
    target     prot opt source               destination
    
    Chain OUTPUT (policy ACCEPT)
    target     prot opt source               destination
    
    Chain f2b-sshd (1 references)
    target     prot opt source               destination
    REJECT     all  --  ***.***.***.***         [anywhere]/0            reject-with icmp-port-unreachable
    REJECT     all  --  ***.***.***.***       [anywhere]/0            reject-with icmp-port-unreachable
    REJECT     all  --  ***.***.***.***       [anywhere]/0            reject-with icmp-port-unreachable
    REJECT     all  --  ***.***.***.***        [anywhere]/0            reject-with icmp-port-unreachable
    REJECT     all  --  ***.***.***.***         [anywhere]/0            reject-with icmp-port-unreachable
    REJECT     all  --  ***.***.***.***        [anywhere]/0            reject-with icmp-port-unreachable
    REJECT     all  --  ***.***.***.***           [anywhere]/0            reject-with icmp-port-unreachable
    REJECT     all  --  ***.***.***.***         [anywhere]/0            reject-with icmp-port-unreachable
    REJECT     all  --  ***.***.***.***        [anywhere]/0            reject-with icmp-port-unreachable
    RETURN     all  --  [anywhere]/0            [anywhere]/0
    Chain f2b-postfix-sasl (1 references)
    target     prot opt source               destination
    REJECT     all  --  ***.***.***.***           [anywhere]/0            reject-with icmp-port-unreachable
    REJECT     all  --  ***.***.***.***         [anywhere]/0            reject-with icmp-port-unreachable
    REJECT     all  --  ***.***.***.***          [anywhere]/0            reject-with icmp-port-unreachable
    REJECT     all  --  ***.***.***.***         [anywhere]/0            reject-with icmp-port-unreachable
    REJECT     all  --  ***.***.***.***          [anywhere]/0            reject-with icmp-port-unreachable
    RETURN     all  --  [anywhere]/0            [anywhere]/0
    
    Chain f2b-dovecot (1 references)
    target     prot opt source               destination
    RETURN     all  --  [anywhere]/0            [anywhere]/0
    
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    What's missing on your system is the file /usr/local/ispconfig/server/conf/rspamd_users.conf.master and thats not the file from install/tpl/rspamd_users.conf.master, ist the file server/conf/rspamd_users.conf.master from the ISPConfig tar.gz file. The file is in ISPConfig 3.1.15, so I have no idea how you lost it. Regarding your forced update which did not help, it might be that you run an old version update e.g. when you had an old copy of ispconfig in /tmp
     
  3. Ante-Florian

    Ante-Florian New Member

    ISPConfig tar.gz do not contain a file server/conf/rspamd_users.conf.master. I only find a file called rspamd_users.inc.conf.master.

    Edit:
    a
    Code:
    cp /tmp/ispconfig3_install/server/conf/rspamd_users.inc.conf.master /usr/local/ispconfig/server/conf/rspamd_users.conf.master
    solve the problem. There was a issue with the name. The ISPConfig tar.gz contain not the right name of the file - or the PHP function is calling the wrong filename.
     
    Last edited: Sep 12, 2019
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    Please duplicate the file under the other name as a quick fix. seems as if the code in one place uses a wrong filename.
     
  5. Ante-Florian

    Ante-Florian New Member

    install/lib/installer_base.lib.php use the wrong name at 1470
     
  6. till

    till Super Moderator Staff Member ISPConfig Developer

    No, there are two files and the installer uses them correctly, otherwise, the rspamd setups won't work. The problem that you got is only related to adding or changing an additional IP address, it's not a general rspamd issue.

    Please run ispconfig_update.sh and choose git-stable as update target, the issue has been fixed.
     
    Ante-Florian likes this.

Share This Page