Jobque stopped, how to solve the error

Discussion in 'Installation/Configuration' started by janvl, Mar 3, 2024.

  1. janvl

    janvl Member

    Hi,
    the jobque stopped because of an error, here is the output from server.sh
    it seems someone tried to add an existing user (?) how do i get rid of this jobentry?

    Regards,
    Jan

    03.03.2024-14:38 - WARNING - There is already a lockfile set, but no process running with this pid (2454726). Continuing.
    03.03.2024-14:38 - DEBUG [plugins.inc:155] - Calling function 'check_phpini_changes' from plugin 'webserver_plugin' raise
    d by action 'server_plugins_loaded'.
    03.03.2024-14:38 - DEBUG [server:177] - Found 13 changes, starting update process.
    03.03.2024-14:38 - DEBUG [plugins.inc:118] - Calling function 'insert' from plugin 'shelluser_base_plugin' raised by even
    t 'shell_user_insert'.
    03.03.2024-14:38 - DEBUG [system.inc:2399] - safe_exec cmd: chattr -i '/var/www/clients/client2/web11' - return code: 0
    useradd: user 'wmoodleadmin' already exists
    03.03.2024-14:38 - DEBUG [system.inc:2399] - safe_exec cmd: useradd -d '/var/www/clients/client2/web11/home/wmoodleadmin'
    -g 'client2' -o -s '/bin/bash' -u '5011' 'wmoodleadmin' - return code: 9
    03.03.2024-14:38 - DEBUG [shelluser base plugin.inc:138] - Executed command: useradd -d ? -g ? -o -s ? -u ? ?
    03.03.2024-14:38 - DEBUG [shelluser base plugin.inc:139] - Added shelluser: wmoodleadmin
    03.03.2024-14:38 - DEBUG [shelluser base plugin.inc:431] - ssh-rsa setup shelluser_base
    PHP Warning: Undefined variable $new_lines in /usr/local/ispconfig/server/lib/classes/file.inc.php on line 126
    PHP Fatal error: Uncaught TypeError: array_merge(): Argument #1 must be of type array, bool given in /usr/local/ispconfi
    g/server/plugins-available/shelluser_base_plugin.inc.php:480
    Stack trace:
    #0 /usr/local/ispconfig/server/plugins-available/shelluser_base_plugin.inc.php(480): array_merge()
    #1 /usr/local/ispconfig/server/plugins-available/shelluser_base_plugin.inc.php(157): shelluser_base_plugin->_setup_ssh_rs
    a()
    #2 /usr/local/ispconfig/server/lib/classes/plugins.inc.php(120): shelluser_base_plugin->insert()
    #3 /usr/local/ispconfig/server/mods-available/web_module.inc.php(150): plugins->raiseEvent()
    #4 /usr/local/ispconfig/server/lib/classes/modules.inc.php(302): web_module->process()
    #5 /usr/local/ispconfig/server/lib/classes/modules.inc.php(235): modules->raiseTableHook()
    #6 /usr/local/ispconfig/server/server.php(180): modules->processDatalog()
    #7 {main}
    thrown in /usr/local/ispconfig/server/plugins-available/shelluser_base_plugin.inc.php on line 480
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

  3. janvl

    janvl Member

    Hi Till,
    i am aware i must update ISPConfig, i must have overseen the notification
    here is the htf_report
    Regards,
    Jan

    Code:
    ##### SERVER #####
    IP-address (as per hostname): ***.***.***.***
    [WARN] could not determine server's ip address by ifconfig
    [INFO] OS version is Ubuntu 22.04.4 LTS
     
    [INFO] uptime:  15:08:27 up 8 days, 12:08,  3 users,  load average: 0,03, 0,07, 0,06
     
    [INFO] memory:
                   total        used        free      shared  buff/cache   available
    Mem:            31Gi        18Gi       3,6Gi       312Mi       8,9Gi        11Gi
    Swap:             0B          0B          0B
     
    [INFO] systemd failed services status:
      UNIT                      LOAD   ACTIVE SUB    DESCRIPTION
    ● snap.lxd.activate.service loaded failed failed Service for snap application lxd.activate
    
    LOAD   = Reflects whether the unit definition was properly loaded.
    ACTIVE = The high-level unit activation state, i.e. generalization of SUB.
    SUB    = The low-level unit activation state, values depend on unit type.
    1 loaded units listed.
    
    [INFO] ISPConfig is installed.
    
    ##### ISPCONFIG #####
    ISPConfig version is 3.2.9p1
    
    
    ##### VERSION CHECK #####
    
    [INFO] php (cli) version is 8.1.27
    [INFO] php-cgi (used for cgi php in default vhost!) is version 8.1.27
    
    ##### PORT CHECK #####
    
    
    ##### MAIL SERVER CHECK #####
    
    
    ##### RUNNING SERVER PROCESSES #####
    
    [INFO] I found the following web server(s):
            Apache 2 (PID 1334)
    [INFO] I found the following mail server(s):
            Postfix (PID 1999)
    [INFO] I found the following pop3 server(s):
            Dovecot (PID 1099)
    [INFO] I found the following imap server(s):
            Dovecot (PID 1099)
    [INFO] I found the following ftp server(s):
            PureFTP (PID 2197453)
    
    ##### LISTENING PORTS #####
    (only           ()
    Local           (Address)
    [localhost]:10023               (1174/postgrey)
    [localhost]:10025               (1999/master)
    [localhost]:10024               (923/amavisd-new)
    [localhost]:10027               (1999/master)
    [localhost]:10026               (923/amavisd-new)
    [localhost]:11211               (847/memcached)
    [localhost]:61209               (845/python3)
    ***.***.***.***:53              (837/systemd-resolve)
    [anywhere]:465          (1999/master)
    [anywhere]:110          (1099/dovecot)
    [anywhere]:22           (1146/sshd:)
    [anywhere]:21           (2197453/pure-ftpd)
    [anywhere]:25           (1999/master)
    [anywhere]:143          (1099/dovecot)
    [anywhere]:995          (1099/dovecot)
    [anywhere]:993          (1099/dovecot)
    [anywhere]:587          (1999/master)
    [anywhere]:3306         (1034/mariadbd)
    [localhost]:53          (870/named)
    [localhost]:53          (870/named)
    [localhost]:53          (870/named)
    [localhost]:53          (870/named)
    [localhost]:53          (870/named)
    [localhost]:53          (870/named)
    [localhost]:53          (870/named)
    [localhost]:53          (870/named)
    [localhost]:53          (870/named)
    [localhost]:53          (870/named)
    ***.***.***.***:53              (870/named)
    ***.***.***.***:53              (870/named)
    ***.***.***.***:53              (870/named)
    ***.***.***.***:53              (870/named)
    ***.***.***.***:53              (870/named)
    ***.***.***.***:53              (870/named)
    ***.***.***.***:53              (870/named)
    ***.***.***.***:53              (870/named)
    ***.***.***.***:53              (870/named)
    ***.***.***.***:53              (870/named)
    [localhost]:953         (870/named)
    [localhost]:953         (870/named)
    [localhost]:953         (870/named)
    [localhost]:953         (870/named)
    [localhost]:953         (870/named)
    [localhost]:953         (870/named)
    [localhost]:953         (870/named)
    [localhost]:953         (870/named)
    [localhost]:953         (870/named)
    [localhost]:953         (870/named)
    [anywhere]:4190         (1099/dovecot)
    *:*:*:*::*:10024                (923/amavisd-new)
    *:*:*:*::*:10026                (923/amavisd-new)
    *:*:*:*::*2875:faff:feab:53             (870/named)
    *:*:*:*::*2875:faff:feab:53             (870/named)
    *:*:*:*::*2875:faff:feab:53             (870/named)
    *:*:*:*::*2875:faff:feab:53             (870/named)
    *:*:*:*::*2875:faff:feab:53             (870/named)
    *:*:*:*::*2875:faff:feab:53             (870/named)
    *:*:*:*::*2875:faff:feab:53             (870/named)
    *:*:*:*::*2875:faff:feab:53             (870/named)
    *:*:*:*::*2875:faff:feab:53             (870/named)
    *:*:*:*::*2875:faff:feab:53             (870/named)
    *:*:*:*::*:465          (1999/master)
    *:*:*:*::*:443          (1334/apache2)
    [localhost]10           (1099/dovecot)
    *:*:*:*::*:80           (1334/apache2)
    *:*:*:*::*:22           (1146/sshd:)
    *:*:*:*::*:21           (2197453/pure-ftpd)
    *:*:*:*::*:25           (1999/master)
    [localhost]43           (1099/dovecot)
    *:*:*:*::*:995          (1099/dovecot)
    *:*:*:*::*:993          (1099/dovecot)
    *:*:*:*::*:587          (1999/master)
    *:*:*:*::*:953          (870/named)
    *:*:*:*::*:953          (870/named)
    *:*:*:*::*:953          (870/named)
    *:*:*:*::*:953          (870/named)
    *:*:*:*::*:953          (870/named)
    *:*:*:*::*:953          (870/named)
    *:*:*:*::*:953          (870/named)
    *:*:*:*::*:953          (870/named)
    *:*:*:*::*:953          (870/named)
    *:*:*:*::*:953          (870/named)
    *:*:*:*::*:3306         (1034/mariadbd)
    *:*:*:*::*:53           (870/named)
    *:*:*:*::*:53           (870/named)
    *:*:*:*::*:53           (870/named)
    *:*:*:*::*:53           (870/named)
    *:*:*:*::*:53           (870/named)
    *:*:*:*::*:53           (870/named)
    *:*:*:*::*:53           (870/named)
    *:*:*:*::*:53           (870/named)
    *:*:*:*::*:53           (870/named)
    *:*:*:*::*:53           (870/named)
    2a03:4000:54:eee:287:53         (870/named)
    2a03:4000:54:eee:287:53         (870/named)
    2a03:4000:54:eee:287:53         (870/named)
    2a03:4000:54:eee:287:53         (870/named)
    2a03:4000:54:eee:287:53         (870/named)
    2a03:4000:54:eee:287:53         (870/named)
    2a03:4000:54:eee:287:53         (870/named)
    2a03:4000:54:eee:287:53         (870/named)
    2a03:4000:54:eee:287:53         (870/named)
    2a03:4000:54:eee:287:53         (870/named)
    *:*:*:*::*:4190         (1099/dovecot)
    *:*:*:*::*:8080         (1334/apache2)
    *:*:*:*::*:8081         (1334/apache2)
    
    
    
    
    ##### IPTABLES #####
    Chain INPUT (policy DROP)
    target     prot opt source               destination         
    ufw-before-logging-input  all  --  [anywhere]/0            [anywhere]/0           
    ufw-before-input  all  --  [anywhere]/0            [anywhere]/0           
    ufw-after-input  all  --  [anywhere]/0            [anywhere]/0           
    ufw-after-logging-input  all  --  [anywhere]/0            [anywhere]/0           
    ufw-reject-input  all  --  [anywhere]/0            [anywhere]/0           
    ufw-track-input  all  --  [anywhere]/0            [anywhere]/0           
    
    Chain FORWARD (policy DROP)
    target     prot opt source               destination         
    ufw-before-logging-forward  all  --  [anywhere]/0            [anywhere]/0           
    ufw-before-forward  all  --  [anywhere]/0            [anywhere]/0           
    ufw-after-forward  all  --  [anywhere]/0            [anywhere]/0           
    ufw-after-logging-forward  all  --  [anywhere]/0            [anywhere]/0           
    ufw-reject-forward  all  --  [anywhere]/0            [anywhere]/0           
    ufw-track-forward  all  --  [anywhere]/0            [anywhere]/0           
    
    Chain OUTPUT (policy ACCEPT)
    target     prot opt source               destination         
    ufw-before-logging-output  all  --  [anywhere]/0            [anywhere]/0           
    ufw-before-output  all  --  [anywhere]/0            [anywhere]/0           
    ufw-after-output  all  --  [anywhere]/0            [anywhere]/0           
    ufw-after-logging-output  all  --  [anywhere]/0            [anywhere]/0           
    ufw-reject-output  all  --  [anywhere]/0            [anywhere]/0           
    ufw-track-output  all  --  [anywhere]/0            [anywhere]/0           
    
    Chain ufw-after-forward (1 references)
    target     prot opt source               destination         
    
    Chain ufw-after-input (1 references)
    target     prot opt source               destination         
    ufw-skip-to-policy-input  udp  --  [anywhere]/0            [anywhere]/0            udp dpt:137
    ufw-skip-to-policy-input  udp  --  [anywhere]/0            [anywhere]/0            udp dpt:138
    ufw-skip-to-policy-input  tcp  --  [anywhere]/0            [anywhere]/0            tcp dpt:139
    ufw-skip-to-policy-input  tcp  --  [anywhere]/0            [anywhere]/0            tcp dpt:445
    ufw-skip-to-policy-input  udp  --  [anywhere]/0            [anywhere]/0            udp dpt:67
    ufw-skip-to-policy-input  udp  --  [anywhere]/0            [anywhere]/0            udp dpt:68
    ufw-skip-to-policy-input  all  --  [anywhere]/0            [anywhere]/0            ADDRTYPE match dst-type BROADCAST
    
    Chain ufw-after-logging-forward (1 references)
    target     prot opt source               destination         
    LOG        all  --  [anywhere]/0            [anywhere]/0            limit: avg 3/min burst 10 LOG flags 0 level 4 prefix "[UFW BLOCK] "
    
    Chain ufw-after-logging-input (1 references)
    target     prot opt source               destination         
    LOG        all  --  [anywhere]/0            [anywhere]/0            limit: avg 3/min burst 10 LOG flags 0 level 4 prefix "[UFW BLOCK] "
    
    Chain ufw-after-logging-output (1 references)
    target     prot opt source               destination         
    
    Chain ufw-after-output (1 references)
    target     prot opt source               destination         
    
    Chain ufw-before-forward (1 references)
    target     prot opt source               destination         
    ACCEPT     all  --  [anywhere]/0            [anywhere]/0            ctstate RELATED,ESTABLISHED
    ACCEPT     icmp --  [anywhere]/0            [anywhere]/0            icmptype 3
    ACCEPT     icmp --  [anywhere]/0            [anywhere]/0            icmptype 11
    ACCEPT     icmp --  [anywhere]/0            [anywhere]/0            icmptype 12
    ACCEPT     icmp --  [anywhere]/0            [anywhere]/0            icmptype 8
    ufw-user-forward  all  --  [anywhere]/0            [anywhere]/0           
    
    Chain ufw-before-input (1 references)
    target     prot opt source               destination         
    ACCEPT     all  --  [anywhere]/0            [anywhere]/0           
    ACCEPT     all  --  [anywhere]/0            [anywhere]/0            ctstate RELATED,ESTABLISHED
    ufw-logging-deny  all  --  [anywhere]/0            [anywhere]/0            ctstate INVALID
    DROP       all  --  [anywhere]/0            [anywhere]/0            ctstate INVALID
    ACCEPT     icmp --  [anywhere]/0            [anywhere]/0            icmptype 3
    ACCEPT     icmp --  [anywhere]/0            [anywhere]/0            icmptype 11
    ACCEPT     icmp --  [anywhere]/0            [anywhere]/0            icmptype 12
    ACCEPT     icmp --  [anywhere]/0            [anywhere]/0            icmptype 8
    ACCEPT     udp  --  [anywhere]/0            [anywhere]/0            udp spt:67 dpt:68
    ufw-not-local  all  --  [anywhere]/0            [anywhere]/0           
    ACCEPT     udp  --  [anywhere]/0            ***.***.***.***          udp dpt:5353
    ACCEPT     udp  --  [anywhere]/0            ***.***.***.***      udp dpt:1900
    ufw-user-input  all  --  [anywhere]/0            [anywhere]/0           
    
    Chain ufw-before-logging-forward (1 references)
    target     prot opt source               destination         
    
    Chain ufw-before-logging-input (1 references)
    target     prot opt source               destination         
    
    Chain ufw-before-logging-output (1 references)
    target     prot opt source               destination         
    
    Chain ufw-before-output (1 references)
    target     prot opt source               destination         
    ACCEPT     all  --  [anywhere]/0            [anywhere]/0           
    ACCEPT     all  --  [anywhere]/0            [anywhere]/0            ctstate RELATED,ESTABLISHED
    ufw-user-output  all  --  [anywhere]/0            [anywhere]/0           
    
    Chain ufw-logging-allow (0 references)
    target     prot opt source               destination         
    LOG        all  --  [anywhere]/0            [anywhere]/0            limit: avg 3/min burst 10 LOG flags 0 level 4 prefix "[UFW ALLOW] "
    
    Chain ufw-logging-deny (2 references)
    target     prot opt source               destination         
    RETURN     all  --  [anywhere]/0            [anywhere]/0            ctstate INVALID limit: avg 3/min burst 10
    LOG        all  --  [anywhere]/0            [anywhere]/0            limit: avg 3/min burst 10 LOG flags 0 level 4 prefix "[UFW BLOCK] "
    
    Chain ufw-not-local (1 references)
    target     prot opt source               destination         
    RETURN     all  --  [anywhere]/0            [anywhere]/0            ADDRTYPE match dst-type LOCAL
    RETURN     all  --  [anywhere]/0            [anywhere]/0            ADDRTYPE match dst-type MULTICAST
    RETURN     all  --  [anywhere]/0            [anywhere]/0            ADDRTYPE match dst-type BROADCAST
    ufw-logging-deny  all  --  [anywhere]/0            [anywhere]/0            limit: avg 3/min burst 10
    DROP       all  --  [anywhere]/0            [anywhere]/0           
    
    Chain ufw-reject-forward (1 references)
    target     prot opt source               destination         
    
    Chain ufw-reject-input (1 references)
    target     prot opt source               destination         
    
    Chain ufw-reject-output (1 references)
    target     prot opt source               destination         
    
    Chain ufw-skip-to-policy-forward (0 references)
    target     prot opt source               destination         
    DROP       all  --  [anywhere]/0            [anywhere]/0           
    
    Chain ufw-skip-to-policy-input (7 references)
    target     prot opt source               destination         
    DROP       all  --  [anywhere]/0            [anywhere]/0           
    
    Chain ufw-skip-to-policy-output (0 references)
    target     prot opt source               destination         
    ACCEPT     all  --  [anywhere]/0            [anywhere]/0           
    
    Chain ufw-track-forward (1 references)
    target     prot opt source               destination         
    
    Chain ufw-track-input (1 references)
    target     prot opt source               destination         
    
    Chain ufw-track-output (1 references)
    target     prot opt source               destination         
    ACCEPT     tcp  --  [anywhere]/0            [anywhere]/0            ctstate NEW
    ACCEPT     udp  --  [anywhere]/0            [anywhere]/0            ctstate NEW
    
    Chain ufw-user-forward (1 references)
    target     prot opt source               destination         
    
    Chain ufw-user-input (1 references)
    target     prot opt source               destination         
    ACCEPT     tcp  --  [anywhere]/0            [anywhere]/0            tcp dpt:20
    ACCEPT     tcp  --  [anywhere]/0            [anywhere]/0            tcp dpt:21
    ACCEPT     tcp  --  [anywhere]/0            [anywhere]/0            tcp dpt:22
    ACCEPT     tcp  --  [anywhere]/0            [anywhere]/0            tcp dpt:25
    ACCEPT     tcp  --  [anywhere]/0            [anywhere]/0            tcp dpt:80
    ACCEPT     tcp  --  [anywhere]/0            [anywhere]/0            tcp dpt:443
    ACCEPT     tcp  --  [anywhere]/0            [anywhere]/0            multiport dports 40110:40210
    ACCEPT     tcp  --  [anywhere]/0            [anywhere]/0            tcp dpt:110
    ACCEPT     tcp  --  [anywhere]/0            [anywhere]/0            tcp dpt:143
    ACCEPT     tcp  --  [anywhere]/0            [anywhere]/0            tcp dpt:465
    ACCEPT     tcp  --  [anywhere]/0            [anywhere]/0            tcp dpt:587
    ACCEPT     tcp  --  [anywhere]/0            [anywhere]/0            tcp dpt:993
    ACCEPT     tcp  --  [anywhere]/0            [anywhere]/0            tcp dpt:995
    ACCEPT     tcp  --  [anywhere]/0            [anywhere]/0            tcp dpt:53
    ACCEPT     tcp  --  [anywhere]/0            [anywhere]/0            tcp dpt:8080
    ACCEPT     tcp  --  [anywhere]/0            [anywhere]/0            tcp dpt:8081
    ACCEPT     udp  --  [anywhere]/0            [anywhere]/0            udp dpt:53
    
    Chain ufw-user-limit (0 references)
    target     prot opt source               destination         
    LOG        all  --  [anywhere]/0            [anywhere]/0            limit: avg 3/min burst 5 LOG flags 0 level 4 prefix "[UFW LIMIT BLOCK] "
    REJECT     all  --  [anywhere]/0            [anywhere]/0            reject-with icmp-port-unreachable
    
    Chain ufw-user-limit-accept (0 references)
    target     prot opt source               destination         
    ACCEPT     all  --  [anywhere]/0            [anywhere]/0           
    
    Chain ufw-user-logging-forward (0 references)
    target     prot opt source               destination         
    
    Chain ufw-user-logging-input (0 references)
    target     prot opt source               destination         
    
    Chain ufw-user-logging-output (0 references)
    target     prot opt source               destination         
    
    Chain ufw-user-output (1 references)
    target     prot opt source               destination         
    
    
    
    
    ##### LET'S ENCRYPT #####
    acme.sh is installed in /root/.acme.sh/acme.sh
     
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    I recommend you update first to see if this fixes the issue.
     
  5. janvl

    janvl Member

    Thanks Till,

    i ran the update and the que is empty, however the cronjobs that were waiting are running a core on almost 100%

    Regards,
    Jan
     
  6. till

    till Super Moderator Staff Member ISPConfig Developer

    This is possible as there might be some high-load jobs like backup jobs waiting. So that's all fine and to be expected.
     

Share This Page