Initial Install 25-05-27 # hostnamectl hostname znuny.phas.ubc.ca # hostnamectl Static hostname: znuny.phas.ubc.ca Icon name: computer-vm Chassis: vm 🖴 Machine ID: 62cc1bfcc7744adc874cf821805e081a Boot ID: 45673bb217fa48389293fdd8c2eb1653 Virtualization: vmware Operating System: Red Hat Enterprise Linux 9.6 (Plow) CPE OS Name: cpe:/o:redhat:enterprise_linux:9::baseos Kernel: Linux 5.14.0-570.16.1.el9_6.x86_64 Architecture: x86-64 Hardware Vendor: VMware, Inc. Hardware Model: VMware7,1 Firmware Version: VMW71.00V.21100432.B64.2301110304 # dnf update Updating Subscription Management repositories. Unable to read consumer identity This system is not registered with an entitlement server. You can use subscription-manager to register. Error: There are no enabled repositories in "/etc/yum.repos.d", "/etc/yum/repos.d", "/etc/distro.repos.d". # subscription-manager remove --all 0 subscriptions removed at the server. # subscription-manager unregister Unregistering from: satellite6.it.ubc.ca:443/rhsm System has been unregistered. # subscription-manager clean All local data removed # subscription-manager register --org=UBCITServices --activationkey=RHEL9 The system has been registered with ID: 724ffc64-644c-4ed3-8de3-4cf319b974e9 The registered system name is: znuny.phas.ubc.ca # crontab -e no crontab for root - using an empty one crontab: installing new crontab [root@znuny ~] 14:00:59 # crontab -l # Example of job definition: # .---------------- minute (0 - 59) # | .------------- hour (0 - 23) # | | .---------- day of month (1 - 31) # | | | .------- month (1 - 12) OR jan,feb,mar,apr ... # | | | | .---- day of week (0 - 6) (Sunday=0 or 7) OR sun,mon,tue,wed,thu,fri,sat # | | | | | # * * * * * user-name command to be executed # 6 4 * * 1,2,3,4,5 rsync /root/00_History_142.103.51.26_znuny root@otrs.phas.ubc.ca::history # dnf install https://dl.fedoraproject.org/pub/epel/epel-release-latest-9.noarch.rpm Updating Subscription Management repositories. Installing : epel-release-9-10.el9.noarch 1/1 Many EPEL packages require the CodeReady Builder (CRB) repository. It is recommended that you run /usr/bin/crb enable to enable the CRB repository. Installed: epel-release-9-10.el9.noarch # /usr/bin/crb enable Enabling CRB repo Repository 'codeready-builder-for-rhel-9-x86_64-rpms' is enabled for this system. CRB repo is enabled and named: codeready-builder-for-rhel-9-x86_64-rpms # firewall-cmd --state running # firewall-cmd --list-all public (active) target: default icmp-block-inversion: yes interfaces: ens192 sources: services: dhcpv6-client ssh ports: protocols: forward: no masquerade: no forward-ports: source-ports: icmp-blocks: destination-unreachable echo-reply echo-request neighbour-advertisement neighbour-solicitation packet-too-big parameter-problem router-advertisement router-solicitation time-exceeded rich rules: rule family="ipv4" source address="127.0.0.1" destination NOT address="127.0.0.1" drop # ll /etc/rsyslog.d/firewalld-dropped.conf ls: cannot access '/etc/rsyslog.d/firewalld-dropped.conf': No such file or directory # echo ":msg,contains,"_DROP" /var/log/firewalld-dropped.log :msg,contains,"_REJECT" /var/log/firewalld-dropped.log & stop" >> /etc/rsyslog.d/firewalld-dropped.conf # cat /etc/rsyslog.d/firewalld-dropped.conf :msg,contains,_DROP /var/log/firewalld-dropped.log :msg,contains,_REJECT /var/log/firewalld-dropped.log & stop # firewall-cmd --get-log-denied off # firewall-cmd --set-log-denied=all success # firewall-cmd --get-log-denied all # firewall-cmd --reload success # dnf -y install rsync rsync-daemon Installed: rsync-3.2.5-3.el9.x86_64 rsync-daemon-3.2.5-3.el9.noarch # cat .vimrc autocmd FileType * setlocal formatoptions-=c formatoptions-=r formatoptions-=o set nonumber # systemctl enable rsyncd Created symlink /etc/systemd/system/multi-user.target.wants/rsyncd.service → /usr/lib/systemd/system/rsyncd.service. # systemctl start rsyncd # systemctl status rsyncd ● rsyncd.service - fast remote file copy program daemon Loaded: loaded (/usr/lib/systemd/system/rsyncd.service; enabled; preset: disabled) Active: active (running) since Tue 2025-05-27 14:28:43 PDT; 2s ago Main PID: 17421 (rsync) Tasks: 1 (limit: 4410) Memory: 1.2M CPU: 3ms CGroup: /system.slice/rsyncd.service └─17421 /usr/bin/rsync --daemon --no-detach May 27 14:28:43 znuny.phas.ubc.ca systemd[1]: Started fast remote file copy program daemon. May 27 14:28:43 znuny.phas.ubc.ca rsyncd[17421]: rsyncd version 3.2.5 starting, listening on port 873 # firewall-cmd --permanent --add-rich-rule='rule family="ipv4" source address="142.103.51.4" port protocol="tcp" port="873" accept' success # firewall-cmd --permanent --add-rich-rule='rule family="ipv4" source address="142.103.236.6" port protocol="tcp" port="873" accept' success # firewall-cmd --permanent --add-rich-rule='rule family="ipv4" source address="142.103.236.30" port protocol="tcp" port="873" accept' success # firewall-cmd --reload success # firewall-cmd --list-all public (active) target: default icmp-block-inversion: yes interfaces: ens192 sources: services: dhcpv6-client ssh ports: protocols: forward: no masquerade: no forward-ports: source-ports: icmp-blocks: destination-unreachable echo-reply echo-request neighbour-advertisement neighbour-solicitation packet-too-big parameter-problem router-advertisement router-solicitation time-exceeded rich rules: rule family="ipv4" source address="142.103.51.4" port port="873" protocol="tcp" accept rule family="ipv4" source address="142.103.236.6" port port="873" protocol="tcp" accept rule family="ipv4" source address="127.0.0.1" destination NOT address="127.0.0.1" drop rule family="ipv4" source address="142.103.236.30" port port="873" protocol="tcp" accept # dnf -y install lsb_release Installed: lsb_release-3.2-2.el9.noarch # which postfix /usr/bin/which: no postfix in (/root/.local/bin:/root/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin) # dnf -y install postfix Installed: libicu-67.1-9.el9.x86_64 postfix-2:3.5.25-1.el9.x86_64 # dnf whatprovides /usr/bin/mail Updating Subscription Management repositories. Last metadata expiration check: 0:06:01 ago on Wed 28 May 2025 11:28:29 AM. s-nail-14.9.22-6.el9.x86_64 : Environment for sending and receiving mail Repo : rhel-9-for-x86_64-appstream-rpms Matched from: Filename : /usr/bin/mail # dnf -y install s-nail Installed: s-nail-14.9.22-6.el9.x86_64 # dnf -y install logwatch Installed: logwatch-7.5.5-7.el9.noarch perl-Sys-CPU-0.61-26.el9.x86_64 perl-Sys-MemInfo-0.99-18.el9.x86_64 # dnf -y install mlocate Installed: mlocate-0.26-30.el9.x86_64 # dnf -y install dnf-automatic Installed: dnf-automatic-4.14.0-25.el9.noarch # firewall-cmd --add-service=http success # firewall-cmd --add-service=https success # firewall-cmd --list-all public (active) target: default icmp-block-inversion: yes interfaces: ens192 sources: services: dhcpv6-client http https ssh ports: protocols: forward: no masquerade: no forward-ports: source-ports: icmp-blocks: destination-unreachable echo-reply echo-request neighbour-advertisement neighbour-solicitation packet-too-big parameter-problem router-advertisement router-solicitation time-exceeded rich rules: rule family="ipv4" source address="142.103.51.4" port port="873" protocol="tcp" accept rule family="ipv4" source address="142.103.236.6" port port="873" protocol="tcp" accept rule family="ipv4" source address="127.0.0.1" destination NOT address="127.0.0.1" drop rule family="ipv4" source address="142.103.236.30" port port="873" protocol="tcp" accept # dnf install certbot -y Running scriptlet: certbot-3.1.0-1.el9.noarch 18/18 Created symlink /etc/systemd/system/timers.target.wants/certbot-renew.timer → /usr/lib/systemd/system/certbot-renew.timer. Certbot auto renewal timer is not started by default. Run 'systemctl start certbot-renew.timer' to enable automatic renewals. Installed: certbot-3.1.0-1.el9.noarch fontawesome-fonts-1:4.7.0-13.el9.noarch python-josepy-doc-1.14.0-1.el9.noarch python3-acme-3.1.0-1.el9.noarch python3-certbot-3.1.0-1.el9.noarch python3-cffi-1.14.5-5.el9.x86_64 python3-configargparse-1.7-1.el9.noarch python3-configobj-5.0.6-25.el9.noarch python3-cryptography-36.0.1-4.el9.x86_64 python3-importlib-metadata-4.12.0-2.el9.noarch python3-josepy-1.14.0-1.el9.noarch python3-parsedatetime-2.6-5.el9.noarch python3-ply-3.11-14.el9.noarch python3-pyOpenSSL-21.0.0-1.el9.noarch python3-pycparser-2.20-6.el9.noarch python3-pyrfc3339-1.1-11.el9.noarch python3-pytz-2021.1-5.el9.noarch python3-zipp-3.20.1-2.el9.noarch # dnf -y install python3-certbot-apache Installed: augeas-libs-1.14.1-2.el9.x86_64 mod_ssl-1:2.4.62-4.el9.x86_64 python3-augeas-0.5.0-25.el9.noarch python3-certbot-apache-3.1.0-1.el9.noarch sscg-3.0.0-7.el9.x86_64 # dnf install wget Installed: wget-1.21.1-8.el9_4.x86_64 # dnf install phpMyAdmin Installed: fontconfig-2.14.0-2.el9_1.x86_64 gd-2.3.2-3.el9.x86_64 jbigkit-libs-2.1-23.el9.x86_64 libX11-1.7.0-11.el9.x86_64 libX11-common-1.7.0-11.el9.noarch libXau-1.0.9-8.el9.x86_64 libXpm-3.5.13-10.el9.x86_64 libjpeg-turbo-2.0.90-7.el9.x86_64 libtiff-4.4.0-13.el9.x86_64 libwebp-1.2.0-8.el9_3.x86_64 libxcb-1.13.1-9.el9.x86_64 libzip-1.7.3-8.el9.x86_64 nginx-filesystem-2:1.20.1-22.el9_6.2.noarch php-common-8.0.30-3.el9_6.x86_64 php-fpm-8.0.30-3.el9_6.x86_64 php-gd-8.0.30-3.el9_6.x86_64 php-intl-8.0.30-3.el9_6.x86_64 php-mbstring-8.0.30-3.el9_6.x86_64 php-mysqlnd-8.0.30-3.el9_6.x86_64 php-pdo-8.0.30-3.el9_6.x86_64 php-pecl-zip-1.19.2-6.el9.x86_64 php-process-8.0.30-3.el9_6.x86_64 php-xml-8.0.30-3.el9_6.x86_64 phpMyAdmin-5.2.2-1.el9.noarch xml-common-0.6.3-58.el9.noarch # systemctl list-timers NEXT LEFT LAST PASSED UNIT ACTIVATES Thu 2025-05-29 11:00:59 PDT 9min left Thu 2025-05-29 09:07:56 PDT 1h 43min ago dnf-makecache.timer dnf-makecache.service Thu 2025-05-29 14:59:37 PDT 4h 8min left Wed 2025-05-28 14:59:37 PDT 19h ago systemd-tmpfiles-clean.timer systemd-tmpfiles-clean.service Fri 2025-05-30 00:00:00 PDT 13h left Thu 2025-05-29 00:00:06 PDT 10h ago logrotate.timer logrotate.service Fri 2025-05-30 00:00:00 PDT 13h left Thu 2025-05-29 00:00:06 PDT 10h ago mlocate-updatedb.timer mlocate-updatedb.service Fri 2025-05-30 05:00:00 PDT 18h left Thu 2025-05-29 05:00:00 PDT 5h 50min ago aidecheck.timer aidecheck.service 5 timers listed. Pass --all to see loaded but inactive timers, too. # systemctl start certbot-renew.timer # systemctl list-timers NEXT LEFT LAST PASSED UNIT ACTIVATES Thu 2025-05-29 11:00:59 PDT 9min left Thu 2025-05-29 09:07:56 PDT 1h 43min ago dnf-makecache.timer dnf-makecache.service Thu 2025-05-29 14:59:37 PDT 4h 8min left Wed 2025-05-28 14:59:37 PDT 19h ago systemd-tmpfiles-clean.timer systemd-tmpfiles-clean.service Thu 2025-05-29 20:32:35 PDT 9h left - - certbot-renew.timer certbot-renew.service Fri 2025-05-30 00:00:00 PDT 13h left Thu 2025-05-29 00:00:06 PDT 10h ago logrotate.timer logrotate.service Fri 2025-05-30 00:00:00 PDT 13h left Thu 2025-05-29 00:00:06 PDT 10h ago mlocate-updatedb.timer mlocate-updatedb.service Fri 2025-05-30 05:00:00 PDT 18h left Thu 2025-05-29 05:00:00 PDT 5h 51min ago aidecheck.timer aidecheck.service 6 timers listed. Pass --all to see loaded but inactive timers, too. ------------------------------------------------------------------- znuny install - https://doc.znuny.org/znuny/installation/index.html # dnf install -y epel-release httpd mariadb mariadb-server cpanminus gcc make dnf-plugins-core tar bash-completion perl-core Installed: apr-1.7.0-12.el9_3.x86_64 apr-util-1.6.1-23.el9.x86_64 apr-util-bdb-1.6.1-23.el9.x86_64 apr-util-openssl-1.6.1-23.el9.x86_64 bash-completion-1:2.11-5.el9.noarch checkpolicy-3.6-1.el9.x86_64 httpd-2.4.62-4.el9.x86_64 httpd-core-2.4.62-4.el9.x86_64 httpd-filesystem-2.4.62-4.el9.noarch httpd-tools-2.4.62-4.el9.x86_64 mailcap-2.1.49-5.el9.noarch mariadb-3:10.5.27-1.el9_5.x86_64 mariadb-backup-3:10.5.27-1.el9_5.x86_64 mariadb-common-3:10.5.27-1.el9_5.x86_64 mariadb-connector-c-3.2.6-1.el9_0.x86_64 mariadb-connector-c-config-3.2.6-1.el9_0.noarch mariadb-errmsg-3:10.5.27-1.el9_5.x86_64 mariadb-gssapi-server-3:10.5.27-1.el9_5.x86_64 mariadb-server-3:10.5.27-1.el9_5.x86_64 mariadb-server-utils-3:10.5.27-1.el9_5.x86_64 mod_http2-2.0.26-4.el9.x86_64 mod_lua-2.4.62-4.el9.x86_64 mysql-selinux-1.0.13-1.el9_5.noarch perl-App-cpanminus-1.7044-15.el9.noarch perl-CPAN-Meta-Check-0.014-17.el9.noarch perl-DBD-MariaDB-1.21-16.el9_0.x86_64 perl-DBI-1.643-9.el9.x86_64 perl-File-pushd-1.016-12.el9.noarch perl-Module-CPANfile-1.1004-12.el9.noarch perl-Parse-PMFile-0.43-4.el9.noarch perl-String-ShellQuote-1.04-34.el9.noarch perl-YAML-1.30-8.el9.noarch policycoreutils-python-utils-3.6-2.1.el9.noarch python3-audit-3.1.5-4.el9.x86_64 python3-distro-1.5.0-7.el9.noarch python3-libsemanage-3.6-5.el9_6.x86_64 python3-policycoreutils-3.6-2.1.el9.noarch python3-setools-4.4.4-1.el9.x86_64 redhat-logos-httpd-90.4-2.el9.noarch # crb enable Enabling CRB repo Repository 'codeready-builder-for-rhel-9-x86_64-rpms' is enabled for this system. CRB repo is enabled and named: codeready-builder-for-rhel-9-x86_64-rpms # dnf install -y https://download.znuny.org/releases/RPMS/rhel/7/znuny-7.1.7-01.noarch.rpm ==================================================================================================================================== Package Architecture Version Repository Size ==================================================================================================================================== Installing: znuny noarch 7.1.7-01 @commandline 18 M Installing dependencies: perl-AppConfig noarch 1.71-22.el9 epel 81 k perl-Authen-SASL noarch 2.16-25.el9 rhel-9-for-x86_64-appstream-rpms 59 k perl-B-Hooks-EndOfScope noarch 0.24-15.el9 codeready-builder-for-rhel-9-x86_64-rpms 46 k perl-CGI noarch 4.51-5.el9 rhel-9-for-x86_64-appstream-rpms 206 k perl-Class-Data-Inheritable noarch 0.08-39.el9 codeready-builder-for-rhel-9-x86_64-rpms 15 k perl-Class-Inspector noarch 1.36-7.el9 rhel-9-for-x86_64-appstream-rpms 34 k perl-Class-Method-Modifiers noarch 2.13-8.el9 codeready-builder-for-rhel-9-x86_64-rpms 54 k perl-Class-Singleton noarch 1.6-4.el9 codeready-builder-for-rhel-9-x86_64-rpms 30 k perl-Convert-ASN1 noarch 0.27-24.el9 rhel-9-for-x86_64-appstream-rpms 60 k perl-Data-Dump noarch 1.23-18.el9 rhel-9-for-x86_64-appstream-rpms 36 k perl-Date-ISO8601 noarch 0.005-13.el9 codeready-builder-for-rhel-9-x86_64-rpms 22 k perl-DateTime x86_64 2:1.54-4.el9 codeready-builder-for-rhel-9-x86_64-rpms 135 k perl-DateTime-Locale noarch 1.31-4.el9 codeready-builder-for-rhel-9-x86_64-rpms 3.3 M perl-DateTime-TimeZone noarch 2.62-1.el9 codeready-builder-for-rhel-9-x86_64-rpms 424 k perl-DateTime-TimeZone-SystemV noarch 0.010-14.el9 codeready-builder-for-rhel-9-x86_64-rpms 26 k perl-DateTime-TimeZone-Tzfile noarch 0.011-14.el9 codeready-builder-for-rhel-9-x86_64-rpms 23 k perl-Devel-CallChecker x86_64 0.008-14.el9 codeready-builder-for-rhel-9-x86_64-rpms 27 k perl-Devel-Caller x86_64 2.06-26.el9 codeready-builder-for-rhel-9-x86_64-rpms 22 k perl-Devel-LexAlias x86_64 0.05-27.el9 codeready-builder-for-rhel-9-x86_64-rpms 20 k perl-Devel-StackTrace noarch 1:2.04-10.el9 codeready-builder-for-rhel-9-x86_64-rpms 34 k perl-Digest-HMAC noarch 1.03-29.el9 rhel-9-for-x86_64-appstream-rpms 19 k perl-Dist-CheckConflicts noarch 0.11-23.el9 codeready-builder-for-rhel-9-x86_64-rpms 26 k perl-DynaLoader-Functions noarch 0.003-13.el9 codeready-builder-for-rhel-9-x86_64-rpms 21 k perl-Eval-Closure noarch 0.14-16.el9 codeready-builder-for-rhel-9-x86_64-rpms 27 k perl-Exception-Class noarch 1.44-13.el9 codeready-builder-for-rhel-9-x86_64-rpms 46 k perl-Exporter-Tiny noarch 1.002002-6.el9 rhel-9-for-x86_64-appstream-rpms 58 k perl-File-Listing noarch 6.14-4.el9 rhel-9-for-x86_64-appstream-rpms 27 k perl-File-ShareDir noarch 1.118-4.el9 rhel-9-for-x86_64-appstream-rpms 35 k perl-GSSAPI x86_64 0.28-37.el9 rhel-9-for-x86_64-appstream-rpms 65 k perl-HTML-Parser x86_64 3.76-3.el9 rhel-9-for-x86_64-appstream-rpms 129 k perl-HTML-Tagset noarch 3.20-47.el9 rhel-9-for-x86_64-appstream-rpms 21 k perl-HTTP-Cookies noarch 6.10-4.el9 rhel-9-for-x86_64-appstream-rpms 42 k perl-HTTP-Date noarch 6.05-7.el9 rhel-9-for-x86_64-appstream-rpms 27 k perl-HTTP-Message noarch 6.29-3.el9 rhel-9-for-x86_64-appstream-rpms 103 k perl-HTTP-Negotiate noarch 6.01-30.el9 rhel-9-for-x86_64-appstream-rpms 22 k perl-IO-HTML noarch 1.004-4.el9 rhel-9-for-x86_64-appstream-rpms 31 k perl-IO-stringy noarch 2.113-7.el9 codeready-builder-for-rhel-9-x86_64-rpms 71 k perl-Image-Base noarch 1.17-21.el9 epel 23 k perl-Image-Info noarch 1.42-7.el9 epel 82 k perl-Image-Xbm noarch 1.10-17.el9 epel 19 k perl-Image-Xpm noarch 1.13-16.el9 epel 20 k perl-JSON noarch 4.03-5.el9 rhel-9-for-x86_64-appstream-rpms 99 k perl-LDAP noarch 1:0.68-5.el9 rhel-9-for-x86_64-appstream-rpms 411 k perl-LWP-MediaTypes noarch 6.04-9.el9 rhel-9-for-x86_64-appstream-rpms 36 k perl-List-MoreUtils-XS x86_64 0.430-5.el9 rhel-9-for-x86_64-appstream-rpms 67 k perl-Module-Implementation noarch 0.09-30.el9 codeready-builder-for-rhel-9-x86_64-rpms 22 k perl-Module-Runtime noarch 0.016-13.el9 codeready-builder-for-rhel-9-x86_64-rpms 25 k perl-NTLM noarch 1.09-30.el9 rhel-9-for-x86_64-appstream-rpms 25 k perl-Net-DNS noarch 1.29-6.el9 rhel-9-for-x86_64-appstream-rpms 405 k perl-Net-HTTP noarch 6.21-3.el9 rhel-9-for-x86_64-appstream-rpms 44 k perl-Package-Stash noarch 0.39-4.el9 codeready-builder-for-rhel-9-x86_64-rpms 37 k perl-Package-Stash-XS x86_64 0.29-11.el9 codeready-builder-for-rhel-9-x86_64-rpms 40 k perl-PadWalker x86_64 2.5-4.el9 codeready-builder-for-rhel-9-x86_64-rpms 30 k perl-Params-Classify x86_64 0.015-14.el9 codeready-builder-for-rhel-9-x86_64-rpms 35 k perl-Params-ValidationCompiler noarch 0.30-12.el9 codeready-builder-for-rhel-9-x86_64-rpms 43 k perl-Pod-POM noarch 2.01-20.el9 epel 94 k perl-Ref-Util noarch 0.204-12.el9 codeready-builder-for-rhel-9-x86_64-rpms 27 k perl-Ref-Util-XS x86_64 0.117-13.el9 codeready-builder-for-rhel-9-x86_64-rpms 28 k perl-Role-Tiny noarch 2.002004-4.el9 codeready-builder-for-rhel-9-x86_64-rpms 36 k perl-Specio noarch 0.47-3.el9 codeready-builder-for-rhel-9-x86_64-rpms 175 k perl-Sub-Exporter-Progressive noarch 0.001013-16.el9 codeready-builder-for-rhel-9-x86_64-rpms 24 k perl-Sub-Identify x86_64 0.14-17.el9 codeready-builder-for-rhel-9-x86_64-rpms 30 k perl-Template-Toolkit x86_64 3.009-5.el9 epel 1.3 M perl-Text-Soundex x86_64 3.05-20.el9 rhel-9-for-x86_64-appstream-rpms 34 k perl-Text-Unidecode noarch 1.30-16.el9 rhel-9-for-x86_64-appstream-rpms 198 k perl-TimeDate noarch 1:2.33-6.el9 rhel-9-for-x86_64-appstream-rpms 63 k perl-Try-Tiny noarch 0.30-13.el9 rhel-9-for-x86_64-appstream-rpms 43 k perl-Variable-Magic x86_64 0.62-14.el9 codeready-builder-for-rhel-9-x86_64-rpms 57 k perl-WWW-RobotRules noarch 6.02-30.el9 rhel-9-for-x86_64-appstream-rpms 23 k perl-XML-LibXML x86_64 1:2.0206-5.el9 rhel-9-for-x86_64-appstream-rpms 376 k perl-XML-LibXSLT x86_64 1.99-7.el9 epel 58 k perl-XML-NamespaceSupport noarch 1.12-15.el9 rhel-9-for-x86_64-appstream-rpms 28 k perl-XML-Parser x86_64 2.46-9.el9 rhel-9-for-x86_64-appstream-rpms 240 k perl-XML-SAX noarch 1.02-8.el9 rhel-9-for-x86_64-appstream-rpms 67 k perl-XML-SAX-Base noarch 1.09-15.el9 rhel-9-for-x86_64-appstream-rpms 35 k perl-XML-Simple noarch 2.25-13.el9 rhel-9-for-x86_64-appstream-rpms 83 k perl-XString x86_64 0.005-4.el9 codeready-builder-for-rhel-9-x86_64-rpms 27 k perl-libwww-perl noarch 6.53-4.el9 rhel-9-for-x86_64-appstream-rpms 215 k perl-namespace-autoclean noarch 0.29-8.el9 codeready-builder-for-rhel-9-x86_64-rpms 29 k perl-namespace-clean noarch 0.27-18.el9 codeready-builder-for-rhel-9-x86_64-rpms 38 k perltidy noarch 20210111-4.el9 codeready-builder-for-rhel-9-x86_64-rpms 555 k procmail x86_64 3.22-56.el9 rhel-9-for-x86_64-appstream-rpms 188 k rgb x86_64 1.0.6-41.el9 epel 18 k Installing weak dependencies: perl-Class-XSAccessor x86_64 1.19-25.el9 codeready-builder-for-rhel-9-x86_64-rpms 52 k perl-Clone x86_64 0.45-6.el9 rhel-9-for-x86_64-appstream-rpms 25 k perl-List-MoreUtils noarch 0.430-4.el9 rhel-9-for-x86_64-appstream-rpms 67 k Userid : "Fedora (epel9) " Fingerprint: FF8A D134 4597 106E CE81 3B91 8A38 72BF 3228 467C From : /etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-9 Key imported successfully Preparing : 1/1 Installing : perl-Module-Runtime-0.016-13.el9.noarch 1/87 Installing : perl-Try-Tiny-0.30-13.el9.noarch 2/87 Installing : perl-Dist-CheckConflicts-0.11-23.el9.noarch 3/87 Installing : perl-XML-NamespaceSupport-1.12-15.el9.noarch 4/87 Installing : perl-Digest-HMAC-1.03-29.el9.noarch 5/87 Installing : perl-LWP-MediaTypes-6.04-9.el9.noarch 6/87 Installing : perl-Module-Implementation-0.09-30.el9.noarch 7/87 Installing : perl-Devel-StackTrace-1:2.04-10.el9.noarch 8/87 Installing : perl-Date-ISO8601-0.005-13.el9.noarch 9/87 Installing : perl-TimeDate-1:2.33-6.el9.noarch 10/87 Installing : perl-HTTP-Date-6.05-7.el9.noarch 11/87 Installing : perl-XML-SAX-Base-1.09-15.el9.noarch 12/87 Installing : perl-XML-Parser-2.46-9.el9.x86_64 13/87 Installing : perl-Image-Base-1.17-21.el9.noarch 14/87 Installing : perl-Image-Xbm-1.10-17.el9.noarch 15/87 Installing : perl-Image-Xpm-1.13-16.el9.noarch 16/87 Installing : perl-File-Listing-6.14-4.el9.noarch 17/87 Installing : perl-NTLM-1.09-30.el9.noarch 18/87 Installing : perl-Net-DNS-1.29-6.el9.noarch 19/87 Installing : perl-PadWalker-2.5-4.el9.x86_64 20/87 Installing : perl-Devel-Caller-2.06-26.el9.x86_64 21/87 Installing : perl-Devel-LexAlias-0.05-27.el9.x86_64 22/87 Installing : perl-IO-stringy-2.113-7.el9.noarch 23/87 Installing : perl-XString-0.005-4.el9.x86_64 24/87 Installing : perl-Variable-Magic-0.62-14.el9.x86_64 25/87 Installing : perl-Sub-Identify-0.14-17.el9.x86_64 26/87 Installing : perl-Sub-Exporter-Progressive-0.001013-16.el9.noarch 27/87 Installing : perl-B-Hooks-EndOfScope-0.24-15.el9.noarch 28/87 Installing : perl-Ref-Util-XS-0.117-13.el9.x86_64 29/87 Installing : perl-Ref-Util-0.204-12.el9.noarch 30/87 Installing : perl-Package-Stash-XS-0.29-11.el9.x86_64 31/87 Installing : perl-Package-Stash-0.39-4.el9.noarch 32/87 Installing : perl-namespace-clean-0.27-18.el9.noarch 33/87 Installing : perl-namespace-autoclean-0.29-8.el9.noarch 34/87 Installing : perl-DynaLoader-Functions-0.003-13.el9.noarch 35/87 Installing : perl-Devel-CallChecker-0.008-14.el9.x86_64 36/87 Installing : perl-Params-Classify-0.015-14.el9.x86_64 37/87 Installing : perl-DateTime-TimeZone-SystemV-0.010-14.el9.noarch 38/87 Installing : perl-DateTime-TimeZone-Tzfile-0.011-14.el9.noarch 39/87 Installing : perl-Class-XSAccessor-1.19-25.el9.x86_64 40/87 Installing : perl-Class-Singleton-1.6-4.el9.noarch 41/87 Installing : perl-Class-Method-Modifiers-2.13-8.el9.noarch 42/87 Installing : perl-Role-Tiny-2.002004-4.el9.noarch 43/87 Installing : perl-Class-Data-Inheritable-0.08-39.el9.noarch 44/87 Installing : perl-Exception-Class-1.44-13.el9.noarch 45/87 Installing : perl-IO-HTML-1.004-4.el9.noarch 46/87 Installing : perl-Net-HTTP-6.21-3.el9.noarch 47/87 Installing : perl-Exporter-Tiny-1.002002-6.el9.noarch 48/87 Installing : perl-List-MoreUtils-XS-0.430-5.el9.x86_64 49/87 Installing : perl-List-MoreUtils-0.430-4.el9.noarch 50/87 Installing : perl-HTML-Tagset-3.20-47.el9.noarch 51/87 Installing : perl-Data-Dump-1.23-18.el9.noarch 52/87 Installing : perl-Convert-ASN1-0.27-24.el9.noarch 53/87 Installing : perl-Clone-0.45-6.el9.x86_64 54/87 Installing : perl-HTTP-Message-6.29-3.el9.noarch 55/87 Installing : perl-HTML-Parser-3.76-3.el9.x86_64 56/87 Installing : perl-HTTP-Negotiate-6.01-30.el9.noarch 57/87 Installing : perl-CGI-4.51-5.el9.noarch 58/87 Installing : perltidy-20210111-4.el9.noarch 59/87 Installing : perl-Eval-Closure-0.14-16.el9.noarch 60/87 Installing : perl-Specio-0.47-3.el9.noarch 61/87 Installing : perl-Params-ValidationCompiler-0.30-12.el9.noarch 62/87 Installing : perl-HTTP-Cookies-6.10-4.el9.noarch 63/87 Installing : perl-Class-Inspector-1.36-7.el9.noarch 64/87 Installing : perl-File-ShareDir-1.118-4.el9.noarch 65/87 Installing : perl-DateTime-Locale-1.31-4.el9.noarch 66/87 Installing : perl-DateTime-2:1.54-4.el9.x86_64 67/87 Installing : perl-DateTime-TimeZone-2.62-1.el9.noarch 68/87 Installing : perl-WWW-RobotRules-6.02-30.el9.noarch 69/87 Installing : perl-libwww-perl-6.53-4.el9.noarch 70/87 Installing : perl-XML-SAX-1.02-8.el9.noarch 71/87 Running scriptlet: perl-XML-SAX-1.02-8.el9.noarch 71/87 Installing : perl-XML-LibXML-1:2.0206-5.el9.x86_64 72/87 Running scriptlet: perl-XML-LibXML-1:2.0206-5.el9.x86_64 72/87 Installing : perl-XML-LibXSLT-1.99-7.el9.x86_64 73/87 Installing : perl-XML-Simple-2.25-13.el9.noarch 74/87 Installing : perl-Text-Unidecode-1.30-16.el9.noarch 75/87 Installing : perl-Text-Soundex-3.05-20.el9.x86_64 76/87 Installing : perl-JSON-4.03-5.el9.noarch 77/87 Installing : procmail-3.22-56.el9.x86_64 78/87 Installing : perl-GSSAPI-0.28-37.el9.x86_64 79/87 Installing : perl-Authen-SASL-2.16-25.el9.noarch 80/87 Installing : perl-LDAP-1:0.68-5.el9.noarch 81/87 Installing : rgb-1.0.6-41.el9.x86_64 82/87 Installing : perl-Image-Info-1.42-7.el9.noarch 83/87 Installing : perl-Pod-POM-2.01-20.el9.noarch 84/87 Installing : perl-AppConfig-1.71-22.el9.noarch 85/87 Installing : perl-Template-Toolkit-3.009-5.el9.x86_64 86/87 Running scriptlet: znuny-7.1.7-01.noarch 87/87 Check Znuny user ... useradd: cannot create directory /opt/znuny error: %prein(znuny-7.1.7-01.noarch) scriptlet failed, exit status 12 Error in PREIN scriptlet in rpm package znuny error: znuny-7.1.7-01.noarch: install failed Verifying : perl-AppConfig-1.71-22.el9.noarch 1/87 Verifying : perl-Image-Base-1.17-21.el9.noarch 2/87 Verifying : perl-Image-Info-1.42-7.el9.noarch 3/87 Verifying : perl-Image-Xbm-1.10-17.el9.noarch 4/87 Verifying : perl-Image-Xpm-1.13-16.el9.noarch 5/87 Verifying : perl-Pod-POM-2.01-20.el9.noarch 6/87 Verifying : perl-Template-Toolkit-3.009-5.el9.x86_64 7/87 Verifying : perl-XML-LibXSLT-1.99-7.el9.x86_64 8/87 Verifying : rgb-1.0.6-41.el9.x86_64 9/87 Verifying : perl-GSSAPI-0.28-37.el9.x86_64 10/87 Verifying : perl-HTTP-Message-6.29-3.el9.noarch 11/87 Verifying : perl-XML-Parser-2.46-9.el9.x86_64 12/87 Verifying : perl-XML-SAX-Base-1.09-15.el9.noarch 13/87 Verifying : procmail-3.22-56.el9.x86_64 14/87 Verifying : perl-HTTP-Negotiate-6.01-30.el9.noarch 15/87 Verifying : perl-JSON-4.03-5.el9.noarch 16/87 Verifying : perl-Text-Unidecode-1.30-16.el9.noarch 17/87 Verifying : perl-WWW-RobotRules-6.02-30.el9.noarch 18/87 Verifying : perl-XML-Simple-2.25-13.el9.noarch 19/87 Verifying : perl-libwww-perl-6.53-4.el9.noarch 20/87 Verifying : perl-Class-Inspector-1.36-7.el9.noarch 21/87 Verifying : perl-Clone-0.45-6.el9.x86_64 22/87 Verifying : perl-Convert-ASN1-0.27-24.el9.noarch 23/87 Verifying : perl-Data-Dump-1.23-18.el9.noarch 24/87 Verifying : perl-File-Listing-6.14-4.el9.noarch 25/87 Verifying : perl-HTML-Tagset-3.20-47.el9.noarch 26/87 Verifying : perl-HTTP-Cookies-6.10-4.el9.noarch 27/87 Verifying : perl-LWP-MediaTypes-6.04-9.el9.noarch 28/87 Verifying : perl-List-MoreUtils-0.430-4.el9.noarch 29/87 Verifying : perl-List-MoreUtils-XS-0.430-5.el9.x86_64 30/87 Verifying : perl-TimeDate-1:2.33-6.el9.noarch 31/87 Verifying : perl-Try-Tiny-0.30-13.el9.noarch 32/87 Verifying : perl-XML-SAX-1.02-8.el9.noarch 33/87 Verifying : perl-Authen-SASL-2.16-25.el9.noarch 34/87 Verifying : perl-Digest-HMAC-1.03-29.el9.noarch 35/87 Verifying : perl-Exporter-Tiny-1.002002-6.el9.noarch 36/87 Verifying : perl-HTTP-Date-6.05-7.el9.noarch 37/87 Verifying : perl-NTLM-1.09-30.el9.noarch 38/87 Verifying : perl-Net-HTTP-6.21-3.el9.noarch 39/87 Verifying : perl-Text-Soundex-3.05-20.el9.x86_64 40/87 Verifying : perl-XML-LibXML-1:2.0206-5.el9.x86_64 41/87 Verifying : perl-XML-NamespaceSupport-1.12-15.el9.noarch 42/87 Verifying : perl-CGI-4.51-5.el9.noarch 43/87 Verifying : perl-File-ShareDir-1.118-4.el9.noarch 44/87 Verifying : perl-IO-HTML-1.004-4.el9.noarch 45/87 Verifying : perl-LDAP-1:0.68-5.el9.noarch 46/87 Verifying : perl-HTML-Parser-3.76-3.el9.x86_64 47/87 Verifying : perl-Net-DNS-1.29-6.el9.noarch 48/87 Verifying : perl-Class-Data-Inheritable-0.08-39.el9.noarch 49/87 Verifying : perl-Class-Method-Modifiers-2.13-8.el9.noarch 50/87 Verifying : perl-Class-Singleton-1.6-4.el9.noarch 51/87 Verifying : perl-Class-XSAccessor-1.19-25.el9.x86_64 52/87 Verifying : perl-Date-ISO8601-0.005-13.el9.noarch 53/87 Verifying : perl-DateTime-2:1.54-4.el9.x86_64 54/87 Verifying : perl-DateTime-Locale-1.31-4.el9.noarch 55/87 Verifying : perl-DateTime-TimeZone-SystemV-0.010-14.el9.noarch 56/87 Verifying : perl-Devel-LexAlias-0.05-27.el9.x86_64 57/87 Verifying : perl-Dist-CheckConflicts-0.11-23.el9.noarch 58/87 Verifying : perl-DynaLoader-Functions-0.003-13.el9.noarch 59/87 Verifying : perl-Eval-Closure-0.14-16.el9.noarch 60/87 Verifying : perl-Exception-Class-1.44-13.el9.noarch 61/87 Verifying : perl-Module-Implementation-0.09-30.el9.noarch 62/87 Verifying : perl-Package-Stash-0.39-4.el9.noarch 63/87 Verifying : perl-Package-Stash-XS-0.29-11.el9.x86_64 64/87 Verifying : perl-Params-Classify-0.015-14.el9.x86_64 65/87 Verifying : perl-Ref-Util-0.204-12.el9.noarch 66/87 Verifying : perl-Ref-Util-XS-0.117-13.el9.x86_64 67/87 Verifying : perl-Role-Tiny-2.002004-4.el9.noarch 68/87 Verifying : perl-Specio-0.47-3.el9.noarch 69/87 Verifying : perl-Sub-Exporter-Progressive-0.001013-16.el9.noarch 70/87 Verifying : perl-Sub-Identify-0.14-17.el9.x86_64 71/87 Verifying : perl-Variable-Magic-0.62-14.el9.x86_64 72/87 Verifying : perl-XString-0.005-4.el9.x86_64 73/87 Verifying : perl-namespace-autoclean-0.29-8.el9.noarch 74/87 Verifying : perltidy-20210111-4.el9.noarch 75/87 Verifying : perl-B-Hooks-EndOfScope-0.24-15.el9.noarch 76/87 Verifying : perl-DateTime-TimeZone-Tzfile-0.011-14.el9.noarch 77/87 Verifying : perl-Devel-CallChecker-0.008-14.el9.x86_64 78/87 Verifying : perl-Devel-Caller-2.06-26.el9.x86_64 79/87 Verifying : perl-Devel-StackTrace-1:2.04-10.el9.noarch 80/87 Verifying : perl-IO-stringy-2.113-7.el9.noarch 81/87 Verifying : perl-Module-Runtime-0.016-13.el9.noarch 82/87 Verifying : perl-PadWalker-2.5-4.el9.x86_64 83/87 Verifying : perl-Params-ValidationCompiler-0.30-12.el9.noarch 84/87 Verifying : perl-namespace-clean-0.27-18.el9.noarch 85/87 Verifying : perl-DateTime-TimeZone-2.62-1.el9.noarch 86/87 Verifying : znuny-7.1.7-01.noarch 87/87 Installed products updated. Installed: perl-AppConfig-1.71-22.el9.noarch perl-Authen-SASL-2.16-25.el9.noarch perl-B-Hooks-EndOfScope-0.24-15.el9.noarch perl-CGI-4.51-5.el9.noarch perl-Class-Data-Inheritable-0.08-39.el9.noarch perl-Class-Inspector-1.36-7.el9.noarch perl-Class-Method-Modifiers-2.13-8.el9.noarch perl-Class-Singleton-1.6-4.el9.noarch perl-Class-XSAccessor-1.19-25.el9.x86_64 perl-Clone-0.45-6.el9.x86_64 perl-Convert-ASN1-0.27-24.el9.noarch perl-Data-Dump-1.23-18.el9.noarch perl-Date-ISO8601-0.005-13.el9.noarch perl-DateTime-2:1.54-4.el9.x86_64 perl-DateTime-Locale-1.31-4.el9.noarch perl-DateTime-TimeZone-2.62-1.el9.noarch perl-DateTime-TimeZone-SystemV-0.010-14.el9.noarch perl-DateTime-TimeZone-Tzfile-0.011-14.el9.noarch perl-Devel-CallChecker-0.008-14.el9.x86_64 perl-Devel-Caller-2.06-26.el9.x86_64 perl-Devel-LexAlias-0.05-27.el9.x86_64 perl-Devel-StackTrace-1:2.04-10.el9.noarch perl-Digest-HMAC-1.03-29.el9.noarch perl-Dist-CheckConflicts-0.11-23.el9.noarch perl-DynaLoader-Functions-0.003-13.el9.noarch perl-Eval-Closure-0.14-16.el9.noarch perl-Exception-Class-1.44-13.el9.noarch perl-Exporter-Tiny-1.002002-6.el9.noarch perl-File-Listing-6.14-4.el9.noarch perl-File-ShareDir-1.118-4.el9.noarch perl-GSSAPI-0.28-37.el9.x86_64 perl-HTML-Parser-3.76-3.el9.x86_64 perl-HTML-Tagset-3.20-47.el9.noarch perl-HTTP-Cookies-6.10-4.el9.noarch perl-HTTP-Date-6.05-7.el9.noarch perl-HTTP-Message-6.29-3.el9.noarch perl-HTTP-Negotiate-6.01-30.el9.noarch perl-IO-HTML-1.004-4.el9.noarch perl-IO-stringy-2.113-7.el9.noarch perl-Image-Base-1.17-21.el9.noarch perl-Image-Info-1.42-7.el9.noarch perl-Image-Xbm-1.10-17.el9.noarch perl-Image-Xpm-1.13-16.el9.noarch perl-JSON-4.03-5.el9.noarch perl-LDAP-1:0.68-5.el9.noarch perl-LWP-MediaTypes-6.04-9.el9.noarch perl-List-MoreUtils-0.430-4.el9.noarch perl-List-MoreUtils-XS-0.430-5.el9.x86_64 perl-Module-Implementation-0.09-30.el9.noarch perl-Module-Runtime-0.016-13.el9.noarch perl-NTLM-1.09-30.el9.noarch perl-Net-DNS-1.29-6.el9.noarch perl-Net-HTTP-6.21-3.el9.noarch perl-Package-Stash-0.39-4.el9.noarch perl-Package-Stash-XS-0.29-11.el9.x86_64 perl-PadWalker-2.5-4.el9.x86_64 perl-Params-Classify-0.015-14.el9.x86_64 perl-Params-ValidationCompiler-0.30-12.el9.noarch perl-Pod-POM-2.01-20.el9.noarch perl-Ref-Util-0.204-12.el9.noarch perl-Ref-Util-XS-0.117-13.el9.x86_64 perl-Role-Tiny-2.002004-4.el9.noarch perl-Specio-0.47-3.el9.noarch perl-Sub-Exporter-Progressive-0.001013-16.el9.noarch perl-Sub-Identify-0.14-17.el9.x86_64 perl-Template-Toolkit-3.009-5.el9.x86_64 perl-Text-Soundex-3.05-20.el9.x86_64 perl-Text-Unidecode-1.30-16.el9.noarch perl-TimeDate-1:2.33-6.el9.noarch perl-Try-Tiny-0.30-13.el9.noarch perl-Variable-Magic-0.62-14.el9.x86_64 perl-WWW-RobotRules-6.02-30.el9.noarch perl-XML-LibXML-1:2.0206-5.el9.x86_64 perl-XML-LibXSLT-1.99-7.el9.x86_64 perl-XML-NamespaceSupport-1.12-15.el9.noarch perl-XML-Parser-2.46-9.el9.x86_64 perl-XML-SAX-1.02-8.el9.noarch perl-XML-SAX-Base-1.09-15.el9.noarch perl-XML-Simple-2.25-13.el9.noarch perl-XString-0.005-4.el9.x86_64 perl-libwww-perl-6.53-4.el9.noarch perl-namespace-autoclean-0.29-8.el9.noarch perl-namespace-clean-0.27-18.el9.noarch perltidy-20210111-4.el9.noarch procmail-3.22-56.el9.x86_64 rgb-1.0.6-41.el9.x86_64 Failed: znuny-7.1.7-01.noarch Error: Transaction failed # mkdir /opt/znuny # chown -R znuny /opt/znuny/ # dnf install -y https://download.znuny.org/releases/RPMS/rhel/7/znuny-7.1.7-01.noarch.rpm Updating Subscription Management repositories. Red Hat Enterprise Linux 9 for x86_64 - AppStream (RPMs) 159 kB/s | 4.5 kB 00:00 Red Hat Enterprise Linux 9 for x86_64 - BaseOS (RPMs) 131 kB/s | 4.1 kB 00:00 Red Hat CodeReady Linux Builder for RHEL 9 x86_64 (RPMs) 168 kB/s | 4.5 kB 00:00 znuny-7.1.7-01.noarch.rpm 45 MB/s | 18 MB 00:00 Dependencies resolved. ==================================================================================================================================== Package Architecture Version Repository Size ==================================================================================================================================== Installing: znuny noarch 7.1.7-01 @commandline 18 M Transaction Summary ==================================================================================================================================== Install 1 Package Total size: 18 M Installed size: 175 M Downloading Packages: Running transaction check Transaction check succeeded. Running transaction test Transaction test succeeded. Running transaction Preparing : 1/1 Running scriptlet: znuny-7.1.7-01.noarch 1/1 Check Znuny user ... znuny exists. usermod: no changes Installing : znuny-7.1.7-01.noarch 1/1 Running scriptlet: znuny-7.1.7-01.noarch 1/1 Next steps: [restart web server] systemctl restart apache2.service [install the Znuny database] Make sure your database server is running. Use a web browser and open this link: http://znuny.phas.ubc.ca/znuny/installer.pl [start Znuny daemon and corresponding watchdog cronjob] /opt/znuny/bin/znuny.Daemon.pl start /opt/znuny/bin/Cron.sh start Verifying : znuny-7.1.7-01.noarch 1/1 Installed products updated. Installed: znuny-7.1.7-01.noarch Complete! # systemctl start mariadb # systemctl enable mariadb Created symlink /etc/systemd/system/mysql.service → /usr/lib/systemd/system/mariadb.service. Created symlink /etc/systemd/system/mysqld.service → /usr/lib/systemd/system/mariadb.service. Created symlink /etc/systemd/system/multi-user.target.wants/mariadb.service → /usr/lib/systemd/system/mariadb.service. # mysql_secure_installation NOTE: RUNNING ALL PARTS OF THIS SCRIPT IS RECOMMENDED FOR ALL MariaDB SERVERS IN PRODUCTION USE! PLEASE READ EACH STEP CAREFULLY! In order to log into MariaDB to secure it, we'll need the current password for the root user. If you've just installed MariaDB, and haven't set the root password yet, you should just press enter here. Enter current password for root (enter for none): OK, successfully used password, moving on... Setting the root password or using the unix_socket ensures that nobody can log into the MariaDB root user without the proper authorisation. You already have your root account protected, so you can safely answer 'n'. Switch to unix_socket authentication [Y/n] n ... skipping. You already have your root account protected, so you can safely answer 'n'. Change the root password? [Y/n] Y New password: Re-enter new password: Password updated successfully! Reloading privilege tables.. ... Success! By default, a MariaDB installation has an anonymous user, allowing anyone to log into MariaDB without having to have a user account created for them. This is intended only for testing, and to make the installation go a bit smoother. You should remove them before moving into a production environment. Remove anonymous users? [Y/n] ... Success! Normally, root should only be allowed to connect from 'localhost'. This ensures that someone cannot guess at the root password from the network. Disallow root login remotely? [Y/n] ... Success! By default, MariaDB comes with a database named 'test' that anyone can access. This is also intended only for testing, and should be removed before moving into a production environment. Remove test database and access to it? [Y/n] - Dropping test database... ... Success! - Removing privileges on test database... ... Success! Reloading the privilege tables will ensure that all changes made so far will take effect immediately. Reload privilege tables now? [Y/n] ... Success! Cleaning up... All done! If you've completed all of the above steps, your MariaDB installation should now be secure. Thanks for using MariaDB! # yum install -y "perl(Moo)" "perl(Text::CSV_XS)" "perl(YAML::XS)" "perl(ModPerl::Util)" "perl(Mail::IMAPClient)" "perl(JSON::XS)" "perl(Encode::HanExtra)" "perl(Crypt::Eksblowfish::Bcrypt)" "perl(Data::UUID)" "perl(Date::Format)" "perl(DateTime::TimeZone)" "perl(DateTime)" "perl(DBD::mysql)" "perl(DBI)" "perl(Hash::Merge)" "perl(Net::LDAP)" "perl(Net::DNS)" "perl(Template)" "perl(Template::Stash::XS)" "perl(XML::LibXML)" "perl(XML::LibXSLT)" "perl(XML::Parser)" "perl(Spreadsheet::XLSX)" "perl(Package::Stash)" Package perl-TimeDate-1:2.33-6.el9.noarch is already installed. Package perl-DateTime-TimeZone-2.62-1.el9.noarch is already installed. Package perl-DateTime-2:1.54-4.el9.x86_64 is already installed. Package perl-DBI-1.643-9.el9.x86_64 is already installed. Package perl-LDAP-1:0.68-5.el9.noarch is already installed. Package perl-Net-DNS-1.29-6.el9.noarch is already installed. Package perl-Template-Toolkit-3.009-5.el9.x86_64 is already installed. Package perl-Template-Toolkit-3.009-5.el9.x86_64 is already installed. Package perl-XML-LibXML-1:2.0206-5.el9.x86_64 is already installed. Package perl-XML-LibXSLT-1.99-7.el9.x86_64 is already installed. Package perl-XML-Parser-2.46-9.el9.x86_64 is already installed. Package perl-Package-Stash-0.39-4.el9.noarch is already installed. Dependencies resolved. =========================================================================================================================================== Package Architecture Version Repository Size =========================================================================================================================================== Installing: mod_perl x86_64 2.0.12-3.el9 epel 3.0 M perl-Crypt-Eksblowfish x86_64 0.009-32.el9 epel 56 k perl-DBD-MySQL x86_64 4.050-13.el9 rhel-9-for-x86_64-appstream-rpms 151 k perl-Data-UUID x86_64 1.226-6.el9 codeready-builder-for-rhel-9-x86_64-rpms 34 k perl-Encode-HanExtra x86_64 0.23-34.el9 epel 2.0 M perl-Hash-Merge noarch 0.302-4.el9 epel 20 k perl-JSON-XS x86_64 1:4.03-5.el9 codeready-builder-for-rhel-9-x86_64-rpms 114 k perl-Mail-IMAPClient noarch 3.42-7.el9 epel 209 k perl-Moo noarch 2.005004-3.el9 epel 67 k perl-Spreadsheet-XLSX noarch 0.18-1.el9 epel 30 k perl-Text-CSV_XS x86_64 1.46-1.el9 epel 135 k perl-YAML-LibYAML x86_64 1:0.82-6.el9 codeready-builder-for-rhel-9-x86_64-rpms 56 k Installing dependencies: perl-BSD-Resource x86_64 1.291.100-17.el9 rhel-9-for-x86_64-appstream-rpms 50 k perl-Bit-Vector x86_64 7.4-24.el9 rhel-9-for-x86_64-appstream-rpms 173 k perl-Carp-Clan noarch 6.08-8.el9 rhel-9-for-x86_64-appstream-rpms 27 k perl-Class-Mix noarch 0.006-14.el9 epel 18 k perl-Clone-Choose noarch 0.010-13.el9 epel 15 k perl-Crypt-RC4 noarch 2.02-30.el9 epel 14 k perl-Date-Calc noarch 6.4-20.el9 rhel-9-for-x86_64-appstream-rpms 208 k perl-Date-Manip noarch 6.85-3.el9 rhel-9-for-x86_64-appstream-rpms 1.2 M perl-Devel-GlobalDestruction noarch 0.14-16.el9 codeready-builder-for-rhel-9-x86_64-rpms 21 k perl-Digest-MD4 x86_64 1.9-23.el9 epel 35 k perl-Digest-Perl-MD5 noarch 1.9-18.el9 epel 18 k perl-Import-Into noarch 1.002005-19.el9 codeready-builder-for-rhel-9-x86_64-rpms 20 k perl-Jcode noarch 2.07-30.el9 epel 38 k perl-Linux-Pid x86_64 0.04-46.el9 epel 16 k perl-OLE-Storage_Lite noarch 0.20-7.el9 epel 30 k perl-Parse-RecDescent noarch 1.967015-14.el9 epel 196 k perl-Spreadsheet-ParseExcel x86_64 0.6600-1.el9 epel 149 k perl-Spreadsheet-WriteExcel noarch 2.40-23.el9 epel 513 k perl-Sub-Quote noarch 2.006006-7.el9 epel 34 k perl-Types-Serialiser noarch 1.01-4.el9 codeready-builder-for-rhel-9-x86_64-rpms 23 k perl-UNIVERSAL-isa noarch 1.20171012-13.el9 epel 21 k perl-Unicode-Map x86_64 0.112-49.el9 epel 224 k perl-common-sense x86_64 3.7.5-7.el9 codeready-builder-for-rhel-9-x86_64-rpms 35 k Installed: mod_perl-2.0.12-3.el9.x86_64 perl-BSD-Resource-1.291.100-17.el9.x86_64 perl-Bit-Vector-7.4-24.el9.x86_64 perl-Carp-Clan-6.08-8.el9.noarch perl-Class-Mix-0.006-14.el9.noarch perl-Clone-Choose-0.010-13.el9.noarch perl-Crypt-Eksblowfish-0.009-32.el9.x86_64 perl-Crypt-RC4-2.02-30.el9.noarch perl-DBD-MySQL-4.050-13.el9.x86_64 perl-Data-UUID-1.226-6.el9.x86_64 perl-Date-Calc-6.4-20.el9.noarch perl-Date-Manip-6.85-3.el9.noarch perl-Devel-GlobalDestruction-0.14-16.el9.noarch perl-Digest-MD4-1.9-23.el9.x86_64 perl-Digest-Perl-MD5-1.9-18.el9.noarch perl-Encode-HanExtra-0.23-34.el9.x86_64 perl-Hash-Merge-0.302-4.el9.noarch perl-Import-Into-1.002005-19.el9.noarch perl-JSON-XS-1:4.03-5.el9.x86_64 perl-Jcode-2.07-30.el9.noarch perl-Linux-Pid-0.04-46.el9.x86_64 perl-Mail-IMAPClient-3.42-7.el9.noarch perl-Moo-2.005004-3.el9.noarch perl-OLE-Storage_Lite-0.20-7.el9.noarch perl-Parse-RecDescent-1.967015-14.el9.noarch perl-Spreadsheet-ParseExcel-0.6600-1.el9.x86_64 perl-Spreadsheet-WriteExcel-2.40-23.el9.noarch perl-Spreadsheet-XLSX-0.18-1.el9.noarch perl-Sub-Quote-2.006006-7.el9.noarch perl-Text-CSV_XS-1.46-1.el9.x86_64 perl-Types-Serialiser-1.01-4.el9.noarch perl-UNIVERSAL-isa-1.20171012-13.el9.noarch perl-Unicode-Map-0.112-49.el9.x86_64 perl-YAML-LibYAML-1:0.82-6.el9.x86_64 perl-common-sense-3.7.5-7.el9.x86_64 Complete! # cpanm JavaScript::Minifier::XS CSS::Minifier::XS iCal::Parser ! Finding JavaScript::Minifier::XS on cpanmetadb failed. LWP will support https URLs if the LWP::Protocol::https module is installed. # vim /etc/my.cnf.d/znuny_config.cnf # cat /etc/my.cnf.d/znuny_config.cnf [mysql] max_allowed_packet=256M [mysqldump] max_allowed_packet=256M [mysqld] innodb_log_file_size = 256M max_allowed_packet=256M # systemctl restart mariadb ## Enable MPM prefork module: # sed -i '/^LoadModule mpm_event_module modules\/mod_mpm_event.so/s/^/#/' /etc/httpd/conf.modules.d/00-mpm.conf sed -i '/^#LoadModule mpm_prefork_module modules\/mod_mpm_prefork.so/s/^#//' /etc/httpd/conf.modules.d/00-mpm.conf # systemctl enable mariadb httpd Created symlink /etc/systemd/system/multi-user.target.wants/httpd.service → /usr/lib/systemd/system/httpd.service. # su - znuny bin/Cron.sh start ================================================================= 25-05-29 # pvcreate /dev/sdc1 Physical volume "/dev/sdc1" successfully created. # vgcreate VGopt /dev/sdc1 Volume group "VGopt" successfully created # lvcreate --name LVopt -l 100%FREE VGopt Logical volume "LVopt" created. # mkfs.xfs /dev/VGopt/LVopt meta-data=/dev/VGopt/LVopt isize=512 agcount=4, agsize=2096896 blks = sectsz=512 attr=2, projid32bit=1 = crc=1 finobt=1, sparse=1, rmapbt=0 = reflink=1 bigtime=1 inobtcount=1 nrext64=0 data = bsize=4096 blocks=8387584, imaxpct=25 = sunit=0 swidth=0 blks naming =version 2 bsize=4096 ascii-ci=0, ftype=1 log =internal log bsize=4096 blocks=16384, version=2 = sectsz=512 sunit=0 blks, lazy-count=1 realtime =none extsz=4096 blocks=0, rtextents=0 # pvs PV VG Fmt Attr PSize PFree /dev/sdb VGroot lvm2 a-- <32.00g <3.00g /dev/sdc1 VGopt lvm2 a-- <32.00g 0 ================================================================= 25-05-30 # fdisk -l | grep sd Disk /dev/sda: 1 GiB, 1073741824 bytes, 2097152 sectors /dev/sda1 2048 600063 598016 292M EFI System /dev/sda2 600064 2095103 1495040 730M Linux filesystem Disk /dev/sdb: 32 GiB, 34359738368 bytes, 67108864 sectors Disk /dev/sdc: 32 GiB, 34359738368 bytes, 67108864 sectors /dev/sdc1 2048 67108863 67106816 32G 8e Linux LVM # fdisk -l | grep sd Disk /dev/sda: 1 GiB, 1073741824 bytes, 2097152 sectors /dev/sda1 2048 600063 598016 292M EFI System /dev/sda2 600064 2095103 1495040 730M Linux filesystem Disk /dev/sdb: 32 GiB, 34359738368 bytes, 67108864 sectors Disk /dev/sdc: 32 GiB, 34359738368 bytes, 67108864 sectors /dev/sdc1 2048 67108863 67106816 32G 8e Linux LVM Disk /dev/sdd: 16 GiB, 17179869184 bytes, 33554432 sectors # fdisk /dev/sdd Device does not contain a recognized partition table. Created a new DOS disklabel with disk identifier 0x832a918a. Command (m for help): n Partition type p primary (0 primary, 0 extended, 4 free) e extended (container for logical partitions) Select (default p): p Partition number (1-4, default 1): First sector (2048-33554431, default 2048): Last sector, +/-sectors or +/-size{K,M,G,T,P} (2048-33554431, default 33554431): Created a new partition 1 of type 'Linux' and of size 16 GiB. Command (m for help): t Selected partition 1 Hex code or alias (type L to list all): 8e Changed type of partition 'Linux' to 'Linux LVM'. Command (m for help): p Disk /dev/sdd: 16 GiB, 17179869184 bytes, 33554432 sectors Disk model: Virtual disk Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disklabel type: dos Disk identifier: 0x832a918a Device Boot Start End Sectors Size Id Type /dev/sdd1 2048 33554431 33552384 16G 8e Linux LVM Command (m for help): w The partition table has been altered. Calling ioctl() to re-read partition table. Syncing disks. # pvcreate /dev/sdd1 Physical volume "/dev/sdd1" successfully created. [root@znuny ~] 16:00:33 # pvscan PV /dev/sdc1 VG VGopt lvm2 [<32.00 GiB / 0 free] PV /dev/sdb VG VGroot lvm2 [<32.00 GiB / <3.00 GiB free] PV /dev/sdd1 lvm2 [<16.00 GiB] Total: 3 [79.99 GiB] / in use: 2 [63.99 GiB] / in no VG: 1 [<16.00 GiB] [root@znuny ~] 16:01:54 # vgcreate VGmysql /dev/sdd1 Volume group "VGmysql" successfully created [root@znuny ~] 16:02:24 # lvcreate --name LVmysql -l 100%FREE VGmysql Logical volume "LVmysql" created. [root@znuny ~] 16:02:57 # mkfs.xfs /dev/VGmysql/LVmysql meta-data=/dev/VGmysql/LVmysql isize=512 agcount=4, agsize=1048320 blks = sectsz=512 attr=2, projid32bit=1 = crc=1 finobt=1, sparse=1, rmapbt=0 = reflink=1 bigtime=1 inobtcount=1 nrext64=0 data = bsize=4096 blocks=4193280, imaxpct=25 = sunit=0 swidth=0 blks naming =version 2 bsize=4096 ascii-ci=0, ftype=1 log =internal log bsize=4096 blocks=16384, version=2 = sectsz=512 sunit=0 blks, lazy-count=1 realtime =none extsz=4096 blocks=0, rtextents=0 # systemctl stop mariadb # cd /var/lib # mv mysql mysql_250530 # mkdir mysql # chown -R mysql:mysql mysql # ls -ld my* drwxr-x--- 2 mysql mysql 6 May 30 16:06 mysql drwxr-xr-x. 5 mysql mysql 4096 May 30 16:05 mysql_250530 # chmod go+rX mysql # vim /etc/fstab # grep mysql /etc/fstab /dev/mapper/VGmysql-LVmysql /var/lib/mysql xfs defaults 1 2 ================================================================================== 25-06-06 # cd /opt/otrs [root@znuny-EduCld-RH9 otrs] 15:58:21 # sudo -u otrs ./bin/otrs.Console.pl Maint::PostMaster::MailAccountFetch --debug Spawning child process to fetch incoming messages from mail accounts... mail.phas.ubc.ca (IMAPS)... [...cpan-lib/Net/IMAP/Simple.pm line 133 in sub _connect] connecting to mail.phas.ubc.ca:993 [...cpan-lib/Net/IMAP/Simple.pm line 133 in sub _connect] connected, returning socket [...System/MailAccount/IMAPS.pm line 45 in sub new] waiting for socket ready [...System/MailAccount/IMAPS.pm line 45 in sub new] looking for greeting [...System/MailAccount/IMAPS.pm line 45 in sub new] got a greeting: * OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE IDLE AUTH=PLAIN] Dovecot ready.\r\n [...cpan-lib/Net/IMAP/Simple.pm line 1251 in sub _send_cmd] 0 LOGIN ttznuny "f.zYG.J.p9Xo.6VE5lv"\r\n [...cpan-lib/Net/IMAP/Simple.pm line 265 in sub _process_cmd] 0 OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE IDLE SORT SORT=DISPLAY THREAD=REFERENCES THREAD=REFS THREAD=ORDEREDSUBJECT MULTIAPPEND URL-PARTIAL CATENATE UNSELECT CHILDREN NAMESPACE UIDPLUS LIST-EXTENDED I18NLEVEL=1 CONDSTORE QRESYNC ESEARCH ESORT SEARCHRES WITHIN CONTEXT=SEARCH LIST-STATUS BINARY MOVE SNIPPET=FUZZY SPECIAL-USE COMPRESS=DEFLATE] Logged in\r\n [...cpan-lib/Net/IMAP/Simple.pm line 1276 in sub _cmd_ok] 0 OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE IDLE SORT SORT=DISPLAY THREAD=REFERENCES THREAD=REFS THREAD=ORDEREDSUBJECT MULTIAPPEND URL-PARTIAL CATENATE UNSELECT CHILDREN NAMESPACE UIDPLUS LIST-EXTENDED I18NLEVEL=1 CONDSTORE QRESYNC ESEARCH ESORT SEARCHRES WITHIN CONTEXT=SEARCH LIST-STATUS BINARY MOVE SNIPPET=FUZZY SPECIAL-USE COMPRESS=DEFLATE] Logged in\r\n [...cpan-lib/Net/IMAP/Simple.pm line 1251 in sub _send_cmd] 1 SELECT "INBOX"\r\n [...cpan-lib/Net/IMAP/Simple.pm line 413 in sub _process_cmd] * FLAGS (\Answered \Flagged \Deleted \Seen \Draft NonJunk)\r\n [...cpan-lib/Net/IMAP/Simple.pm line 1276 in sub _cmd_ok] * FLAGS (\Answered \Flagged \Deleted \Seen \Draft NonJunk)\r\n [...cpan-lib/Net/IMAP/Simple.pm line 413 in sub _process_cmd] * OK [PERMANENTFLAGS (\Answered \Flagged \Deleted \Seen \Draft NonJunk \*)] Flags permitted.\r\n [...cpan-lib/Net/IMAP/Simple.pm line 1276 in sub _cmd_ok] * OK [PERMANENTFLAGS (\Answered \Flagged \Deleted \Seen \Draft NonJunk \*)] Flags permitted.\r\n [...cpan-lib/Net/IMAP/Simple.pm line 413 in sub _process_cmd] * 0 EXISTS\r\n [...cpan-lib/Net/IMAP/Simple.pm line 1276 in sub _cmd_ok] * 0 EXISTS\r\n [...cpan-lib/Net/IMAP/Simple.pm line 413 in sub _process_cmd] * 0 RECENT\r\n [...cpan-lib/Net/IMAP/Simple.pm line 1276 in sub _cmd_ok] * 0 RECENT\r\n [...cpan-lib/Net/IMAP/Simple.pm line 413 in sub _process_cmd] * OK [UIDVALIDITY 1748476421] UIDs valid\r\n [...cpan-lib/Net/IMAP/Simple.pm line 1276 in sub _cmd_ok] * OK [UIDVALIDITY 1748476421] UIDs valid\r\n [...cpan-lib/Net/IMAP/Simple.pm line 413 in sub _process_cmd] * OK [UIDNEXT 15] Predicted next UID\r\n [...cpan-lib/Net/IMAP/Simple.pm line 1276 in sub _cmd_ok] * OK [UIDNEXT 15] Predicted next UID\r\n [...cpan-lib/Net/IMAP/Simple.pm line 413 in sub _process_cmd] 1 OK [READ-WRITE] Select completed (0.001 + 0.000 secs).\r\n [...cpan-lib/Net/IMAP/Simple.pm line 1276 in sub _cmd_ok] 1 OK [READ-WRITE] Select completed (0.001 + 0.000 secs).\r\n [...cpan-lib/Net/IMAP/Simple.pm line 1251 in sub _send_cmd] 2 SELECT "INBOX"\r\n [...cpan-lib/Net/IMAP/Simple.pm line 413 in sub _process_cmd] * OK [CLOSED] Previous mailbox closed.\r\n [...cpan-lib/Net/IMAP/Simple.pm line 1276 in sub _cmd_ok] * OK [CLOSED] Previous mailbox closed.\r\n [...cpan-lib/Net/IMAP/Simple.pm line 413 in sub _process_cmd] * FLAGS (\Answered \Flagged \Deleted \Seen \Draft NonJunk)\r\n [...cpan-lib/Net/IMAP/Simple.pm line 1276 in sub _cmd_ok] * FLAGS (\Answered \Flagged \Deleted \Seen \Draft NonJunk)\r\n [...cpan-lib/Net/IMAP/Simple.pm line 413 in sub _process_cmd] * OK [PERMANENTFLAGS (\Answered \Flagged \Deleted \Seen \Draft NonJunk \*)] Flags permitted.\r\n [...cpan-lib/Net/IMAP/Simple.pm line 1276 in sub _cmd_ok] * OK [PERMANENTFLAGS (\Answered \Flagged \Deleted \Seen \Draft NonJunk \*)] Flags permitted.\r\n [...cpan-lib/Net/IMAP/Simple.pm line 413 in sub _process_cmd] * 0 EXISTS\r\n [...cpan-lib/Net/IMAP/Simple.pm line 1276 in sub _cmd_ok] * 0 EXISTS\r\n [...cpan-lib/Net/IMAP/Simple.pm line 413 in sub _process_cmd] * 0 RECENT\r\n [...cpan-lib/Net/IMAP/Simple.pm line 1276 in sub _cmd_ok] * 0 RECENT\r\n [...cpan-lib/Net/IMAP/Simple.pm line 413 in sub _process_cmd] * OK [UIDVALIDITY 1748476421] UIDs valid\r\n [...cpan-lib/Net/IMAP/Simple.pm line 1276 in sub _cmd_ok] * OK [UIDVALIDITY 1748476421] UIDs valid\r\n [...cpan-lib/Net/IMAP/Simple.pm line 413 in sub _process_cmd] * OK [UIDNEXT 15] Predicted next UID\r\n [...cpan-lib/Net/IMAP/Simple.pm line 1276 in sub _cmd_ok] * OK [UIDNEXT 15] Predicted next UID\r\n [...cpan-lib/Net/IMAP/Simple.pm line 413 in sub _process_cmd] 2 OK [READ-WRITE] Select completed (0.001 + 0.000 secs).\r\n [...cpan-lib/Net/IMAP/Simple.pm line 1276 in sub _cmd_ok] 2 OK [READ-WRITE] Select completed (0.001 + 0.000 secs).\r\n [...cpan-lib/Net/IMAP/Simple.pm line 1251 in sub _send_cmd] 3 EXPUNGE\r\n [...cpan-lib/Net/IMAP/Simple.pm line 1070 in sub _process_cmd] 3 OK Expunge completed (0.001 + 0.000 secs).\r\n [...cpan-lib/Net/IMAP/Simple.pm line 1276 in sub _cmd_ok] 3 OK Expunge completed (0.001 + 0.000 secs).\r\n [...cpan-lib/Net/IMAP/Simple.pm line 879 in sub _send_cmd] 4 EXPUNGE\r\n [...cpan-lib/Net/IMAP/Simple.pm line 1251 in sub _send_cmd] 5 LOGOUT\r\n [...cpan-lib/Net/IMAP/Simple.pm line 881 in sub _process_cmd] 4 OK Expunge completed (0.001 + 0.000 secs).\r\n [...cpan-lib/Net/IMAP/Simple.pm line 1276 in sub _cmd_ok] 4 OK Expunge completed (0.001 + 0.000 secs).\r\n [...cpan-lib/Net/IMAP/Simple.pm line 1197 in sub _seterrstr] warning unknown return string (id=5): 4 OK Expunge completed (0.001 + 0.000 secs).\r\n [...cpan-lib/Net/IMAP/Simple.pm line 881 in sub _process_cmd] * BYE Logging out\r\n [...cpan-lib/Net/IMAP/Simple.pm line 1276 in sub _cmd_ok] * BYE Logging out\r\n [...cpan-lib/Net/IMAP/Simple.pm line 881 in sub _process_cmd] 5 OK Logout completed (0.001 + 0.000 secs).\r\n [...cpan-lib/Net/IMAP/Simple.pm line 1276 in sub _cmd_ok] 5 OK Logout completed (0.001 + 0.000 secs).\r\n IMAPS: Connection to mail.phas.ubc.ca closed. Done. ======================================================================= 25-06-11 OTRS Scheduler Daemon Cron: RegistrationUpdateSend error (see email). ERROR: OTRS-otrs.Console.pl-Maint::Registration::UpdateSend-10 Perl: 5.32.1 OS: linux Time: Sun Jun 8 08:30:15 2025 Message: Can't perform POST on https://addons.znuny.com/api/otrs_cloud_service/: 400 Bad Request fix? https://community.znuny.org/viewtopic.php?t=42788 # su - otrs Last login: Fri May 30 18:02:12 PDT 2025 on pts/0 [otrs@znuny ~]$ pwd /opt/otrs/ [otrs@znuny ~]$ ./bin/otrs.Console.pl Maint::Config::Rebuild --cleanup Rebuilding the system configuration... Done. =================================================================================== 25-06-12 removed link /opt/otrs -> /opt/znuny-6.1.2 # Stop the webserver systemctl stop httpd # dnf install ./znuny-6.1.2-01.noarch.rpm Updating Subscription Management repositories. Red Hat Enterprise Linux 9 for x86_64 - AppStream (RPMs) 165 kB/s | 4.5 kB 00:00 Red Hat Enterprise Linux 9 for x86_64 - BaseOS (RPMs) 148 kB/s | 4.1 kB 00:00 Red Hat CodeReady Linux Builder for RHEL 9 x86_64 (RPMs) 161 kB/s | 4.5 kB 00:00 Dependencies resolved. ==================================================================================================================================== Package Architecture Version Repository Size ==================================================================================================================================== Installing: znuny noarch 6.1.2-01 @commandline 22 M Transaction Summary ==================================================================================================================================== Install 1 Package Total size: 22 M Installed size: 170 M Is this ok [y/N]: y Downloading Packages: Running transaction check Transaction check succeeded. Running transaction test Transaction test succeeded. Running transaction Preparing : 1/1 Running scriptlet: znuny-6.1.2-01.noarch 1/1 Check OTRS user ... otrs exists. usermod: no changes Installing : znuny-6.1.2-01.noarch 1/1 Running scriptlet: znuny-6.1.2-01.noarch 1/1 Next steps: [restart web server] systemctl restart apache2.service [install the OTRS database] Make sure your database server is running. Use a web browser and open this link: http://znuny.phas.ubc.ca/otrs/installer.pl [start OTRS daemon and corresponding watchdog cronjob] /opt/otrs/bin/otrs.Daemon.pl start /opt/otrs/bin/Cron.sh start ((enjoy)) Your OTRS Team Verifying : znuny-6.1.2-01.noarch 1/1 Installed products updated. Installed: znuny-6.1.2-01.noarch Complete! # /opt/otrs/bin/otrs.CheckModules.pl --all o Apache::DBI......................ok (v1.12) o Apache2::Reload..................ok (v0.13) o Archive::Tar.....................ok (v2.38) o Archive::Zip.....................ok (v1.68) o Crypt::Eksblowfish::Bcrypt.......ok (v0.009) o CSS::Minifier::XS................Not installed! To install, you can use: 'yum install "perl(CSS::Minifier::XS)"'. (optional - Alternative to CSS::Minifier in XS, which is slightly faster than CSS::Minifier (pure Perl).) o Date::Format.....................ok (v2.24) o DateTime.........................ok (v1.54) o DateTime::TimeZone.............ok (v2.62) o DBI..............................ok (v1.643) o DBD::mysql.......................ok (v4.050) o DBD::ODBC........................Not installed! (optional - Required to connect to a MS-SQL database.) o DBD::Oracle......................Not installed! (optional - Required to connect to a Oracle database.) o DBD::Pg..........................Not installed! To install, you can use: 'yum install "perl(DBD::Pg)"'. (optional - Required to connect to a PostgreSQL database.) o Digest::SHA......................ok (v6.02) o Encode::HanExtra.................ok (v0.23) o IO::Socket::SSL..................ok (v2.073) o JavaScript::Minifier::XS.........Not installed! To install, you can use: 'yum install "perl(JavaScript::Minifier::XS)"'. (optional - Alternative to JavaScript::Minifier in XS, which is slightly faster than JavaScript::Minifier (pure Perl).) o Jq...............................Not installed! To install, you can use: 'yum install "perl(Jq)"'. (optional - Support for extended condition checking via Jq for the generic interface.) o JSON::XS.........................ok (v4.03) o List::Util::XS...................ok (v1.56) o LWP::UserAgent...................ok (v6.53) o Mail::IMAPClient.................ok (v3.42) o IO::Socket::SSL................ok (v2.073) o Authen::SASL...................ok (v2.16) o Authen::NTLM...................ok (v1.09) o ModPerl::Util....................ok (v2.000012) o Moo..............................ok (v2.005004) o Net::DNS.........................ok (v1.29) o Net::LDAP........................ok (v0.68) o Net::SMTP........................ok (v3.13) o Template.........................ok (v3.009) o Template::Stash::XS..............ok (undef) o Text::Diff::FormattedHTML........ok (v0.08) o Text::CSV_XS.....................ok (v1.46) o Time::HiRes......................ok (v1.9764) o XML::LibXML......................ok (v2.0206) o XML::LibXSLT.....................ok (v1.99) o XML::Parser......................ok (v2.46) o YAML::XS.........................ok (v0.82) Bundled modules: o Algorithm::Diff..................ok (v1.1903) o Apache::DBI......................ok (v1.12) o CGI..............................ok (v4.36) o CSS::Minifier....................ok (v0.01) o Class::Inspector.................ok (v1.31) o Crypt::PasswdMD5.................ok (v1.40) o Crypt::Random::Source............ok (v0.14) o Email::Valid.....................ok (v1.202) o Encode::Locale...................ok (v1.05) o Exporter::Tiny...................ok (v1.002001) o IO::Interactive..................ok (v1.022) o JSON.............................ok (v2.94) o JSON::PP.........................ok (v2.27203) o JavaScript::Minifier.............ok (v1.15) o LWP..............................ok (v6.53) o Linux::Distribution..............ok (v0.23) o Locale::Codes....................ok (v3.52) o MIME::Tools......................ok (v5.509) o Mail::Address....................ok (v2.18) o Mail::Internet...................ok (v2.18) o Math::Random::ISAAC..............ok (v1.004) o Math::Random::Secure.............ok (v0.080001) o Module::Find.....................ok (v0.15) o Module::Refresh..................ok (v0.17) o Moo..............................ok (v2.005004) o Mozilla::CA......................ok (v20200520) o Net::HTTP........................ok (v6.17) o Net::IMAP::Simple................ok (v1.2209) o Net::SSLGlue.....................ok (v1.058) o PDF::API2........................ok (v2.033) o SOAP::Lite.......................ok (v1.20) Argument "v4" isn't numeric in sprintf at /opt/otrs/bin/otrs.CheckModules.pl line 899. o Sisimai..........................ok (vv4.25.11) o Sys::Hostname::Long..............ok (v1.5) o Text::CSV........................ok (v1.95) o Text::Diff.......................ok (v1.44) o Types::TypeTiny..................ok (v1.010000) o URI..............................ok (v1.71) o YAML.............................ok (v1.23) o namespace::clean.................ok (v0.27) o parent...........................ok (v0.236) # su - otrs Last login: Thu Jun 12 09:08:32 PDT 2025 on pts/1 [otrs@znuny ~]$ pwd /opt/otrs [otrs@znuny ~]$ bin/otrs.Console.pl Admin::Package::UpgradeAll There are no installed packages Done. [otrs@znuny ~]$ exit logout [root@znuny-EduCld-RH9 opt] 09:45:37 # Fill the crontab and wait(!) at least 5 minutes that the Daemon is started via cron # su -c 'bin/Cron.sh start' - otrs (using /opt/otrs) done # # Start the webserver systemctl start httpd # # Start your local MTA, mostly Postfix, sometimes Exim or Sendmail systemctl start postfix # su -c "bin/otrs.Daemon.pl status" -s /bin/bash otrs Manage the OTRS daemon process. Daemon running [root@znuny-EduCld-RH9 znuny-6.1.2] 10:23:39 # su -c "bin/otrs.Daemon.pl stop" -s /bin/bash otrs Manage the OTRS daemon process. Daemon stopped # su -c "bin/otrs.Daemon.pl start" -s /bin/bash otrs Manage the OTRS daemon process. Daemon started # Generating dashboard widgets statistics... Spawning child process to fetch incoming messages from mail accounts... No indexing needed! Skipping... Done. Processing ticket escalation events ... mail.phas.ubc.ca (IMAPS)... Done. No messages available for sending. Done. Done. Sending system registration update... Checking the OTRS Business Solution™ entitlement status... OTRS Business Solution™ is not installed in this system, skipping... Done. No need to send the registration update at this moment, skipping... Done. Checking availability of OTRS Business Solution™... No need to execute the availability check at this moment, skipping... Done. Collecting asynchronous support data... Deleting drafts... Done. Deleting expired sessions... Deleting idle sessions... Done. Done. Process pending tickets... Unlocking tickets that are past their unlock timeout... Done. Update ticket state for ticket 2025060810000016 (812492) to 'closed successful'... done. Done. mail.phas.ubc.ca (IMAPS)... IMAPS: Connection to mail.phas.ubc.ca closed. mail.phas.ubc.ca (IMAPS)... IMAPS: Connection to mail.phas.ubc.ca closed. mail.phas.ubc.ca (IMAPS)... IMAPS: Message 1/1 (ttznuny/mail.phas.ubc.ca) IMAPS: Connection to mail.phas.ubc.ca closed. Done. Done. 3 message(s) successfully sent! Done. ========================================================================= 25-06-12 upgrade from znuny-6.1.2 to znuny-6.2 # Stop the webserver systemctl stop httpd # Stop your local MTA, mostly Postfix, sometimes Exim or Sendmail systemctl stop postfix # Remove crontab, stop daemon su -c 'bin/Cron.sh stop' - otrs su -c 'bin/otrs.Daemon.pl stop' - otrs # dnf update ./znuny-6.2.2-01.noarch.rpm Updating Subscription Management repositories. Red Hat Enterprise Linux 9 for x86_64 - AppStream (RPMs) 143 kB/s | 4.5 kB 00:00 Red Hat Enterprise Linux 9 for x86_64 - BaseOS (RPMs) 88 kB/s | 4.1 kB 00:00 Red Hat CodeReady Linux Builder for RHEL 9 x86_64 (RPMs) 98 kB/s | 4.5 kB 00:00 Dependencies resolved. ============================================================================================================================================================ Package Architecture Version Repository Size ============================================================================================================================================================ Upgrading: znuny noarch 6.2.2-01 @commandline 22 M Transaction Summary ============================================================================================================================================================ Upgrade 1 Package Total size: 22 M Is this ok [y/N]: y Downloading Packages: Running transaction check Transaction check succeeded. Running transaction test Transaction test succeeded. Running transaction Preparing : 1/1 Running scriptlet: znuny-6.2.2-01.noarch 1/2 Check OTRS user ... otrs exists. usermod: no changes usermod: no changes Upgrading : znuny-6.2.2-01.noarch 1/2 Running scriptlet: znuny-6.2.2-01.noarch 1/2 Next steps: [restart web server] systemctl restart apache2.service [install the OTRS database] Make sure your database server is running. Use a web browser and open this link: http://znuny.phas.ubc.ca/otrs/installer.pl [start OTRS daemon and corresponding watchdog cronjob] /opt/otrs/bin/otrs.Daemon.pl start /opt/otrs/bin/Cron.sh start ((enjoy)) Your OTRS Team Cleanup : znuny-6.1.2-01.noarch 2/2 Verifying : znuny-6.2.2-01.noarch 1/2 Verifying : znuny-6.1.2-01.noarch 2/2 Installed products updated. Upgraded: znuny-6.2.2-01.noarch Complete! # Check for missing modules and add required modules # /opt/otrs/bin/otrs.CheckModules.pl --all o Apache::DBI......................ok (v1.12) o Apache2::Reload..................ok (v0.13) o Archive::Tar.....................ok (v2.38) o Archive::Zip.....................ok (v1.68) o Crypt::Eksblowfish::Bcrypt.......ok (v0.009) o CSS::Minifier::XS................Not installed! To install, you can use: 'yum install "perl(CSS::Minifier::XS)"'. (optional - Alternative to CSS::Minifier in XS, which is slightly faster than CSS::Minifier (pure Perl).) o Date::Format.....................ok (v2.24) o DateTime.........................ok (v1.54) o DateTime::TimeZone.............ok (v2.62) o DBI..............................ok (v1.643) o DBD::mysql.......................ok (v4.050) o DBD::ODBC........................Not installed! (optional - Required to connect to a MS-SQL database.) o DBD::Oracle......................Not installed! (optional - Required to connect to a Oracle database.) o DBD::Pg..........................Not installed! To install, you can use: 'yum install "perl(DBD::Pg)"'. (optional - Required to connect to a PostgreSQL database.) o Digest::SHA......................ok (v6.02) o Encode::HanExtra.................ok (v0.23) o IO::Socket::SSL..................ok (v2.073) o JavaScript::Minifier::XS.........Not installed! To install, you can use: 'yum install "perl(JavaScript::Minifier::XS)"'. (optional - Alternative to JavaScript::Minifier in XS, which is slightly faster than JavaScript::Minifier (pure Perl).) o Jq...............................Not installed! To install, you can use: 'yum install "perl(Jq)"'. (optional - Support for extended condition checking via Jq for the generic interface.) o JSON::XS.........................ok (v4.03) o List::Util::XS...................ok (v1.56) o LWP::UserAgent...................ok (v6.53) o Mail::IMAPClient.................ok (v3.42) o IO::Socket::SSL................ok (v2.073) o Authen::SASL...................ok (v2.16) o Authen::NTLM...................ok (v1.09) o ModPerl::Util....................ok (v2.000012) o Moo..............................ok (v2.005004) o Net::DNS.........................ok (v1.29) o Net::LDAP........................ok (v0.68) o Net::SMTP........................ok (v3.13) o Spreadsheet::XLSX................ok (v0.18) o Template.........................ok (v3.009) o Template::Stash::XS..............ok (undef) o Text::Diff::FormattedHTML........ok (v0.08) o Text::CSV_XS.....................ok (v1.46) o Time::HiRes......................ok (v1.9764) o XML::LibXML......................ok (v2.0206) o XML::LibXSLT.....................ok (v1.99) o XML::Parser......................ok (v2.46) o YAML::XS.........................ok (v0.82) Bundled modules: o Algorithm::Diff..................ok (v1.1903) o Apache::DBI......................ok (v1.12) o CGI..............................ok (v4.36) o CSS::Minifier....................ok (v0.01) o Class::Inspector.................ok (v1.31) o Crypt::PasswdMD5.................ok (v1.40) o Crypt::Random::Source............ok (v0.14) o Email::Valid.....................ok (v1.202) o Encode::Locale...................ok (v1.05) o Exporter::Tiny...................ok (v1.002001) o IO::Interactive..................ok (v1.022) o JSON.............................ok (v2.94) o JSON::PP.........................ok (v2.27203) o JavaScript::Minifier.............ok (v1.15) o LWP..............................ok (v6.53) o Linux::Distribution..............ok (v0.23) o Locale::Codes....................ok (v3.52) o MIME::Tools......................ok (v5.509) o Mail::Address....................ok (v2.18) o Mail::Internet...................ok (v2.18) o Math::Random::ISAAC..............ok (v1.004) o Math::Random::Secure.............ok (v0.080001) o Module::Find.....................ok (v0.15) o Module::Refresh..................ok (v0.17) o Moo..............................ok (v2.005004) o Mozilla::CA......................ok (v20211001) o Net::HTTP........................ok (v6.17) o Net::IMAP::Simple................ok (v1.2209) o Net::SSLGlue.....................ok (v1.058) o PDF::API2........................ok (v2.033) o SOAP::Lite.......................ok (v1.20) Argument "v4" isn't numeric in sprintf at /opt/otrs/bin/otrs.CheckModules.pl line 910. o Sisimai..........................ok (vv4.25.11) o Sys::Hostname::Long..............ok (v1.5) o Text::CSV........................ok (v1.95) o Text::Diff.......................ok (v1.44) o Types::TypeTiny..................ok (v1.010000) o URI..............................ok (v1.71) o YAML.............................ok (v1.23) o namespace::clean.................ok (v0.27) o parent...........................ok (v0.236) [otrs@znuny ~]$ ./scripts/MigrateToZnuny6_2.pl Migration started ... Checking requirements ... Requirement check for: Check framework version ... Requirement check for: Check required Perl version ... Requirement check for: Check required database version ... Requirement check for: Check database charset ... Requirement check for: Check required Perl modules ... Requirement check for: Check if database has been backed up ... Did you backup the database? [Y]es/[N]o: Y Requirement check for: Upgrade database structure ... Executing tasks ... Step 1 of 18: Check framework version ... Step 2 of 18: Check required Perl version ... Step 3 of 18: Check required database version ... Step 4 of 18: Check database charset ... Step 5 of 18: Check required Perl modules ... Step 6 of 18: Check installed CPAN modules for known vulnerabilities ... Step 7 of 18: Check if database has been backed up ... Step 8 of 18: Upgrade database structure ... Step 9 of 18: Rebuild configuration ... Step 10 of 18: Migrate SysConfig settings ... Step 11 of 18: Migrate web service configuration ... Step 12 of 18: Uninstall merged packages ... Step 13 of 18: Initialize default cron jobs ... Step 14 of 18: Clean up the cache ... Step 15 of 18: Rebuild configuration another time ... Step 16 of 18: Deploy ACLs ... Step 17 of 18: Deploy processes ... Step 18 of 18: Check invalid settings ... Migration completed! [otrs@znuny ~]$ bin/otrs.Console.pl Admin::Package::UpgradeAll There are no installed packages Done. ========================================================================= 25-06-12 upgrade from znuny-6.2 to znuny-6.3 # dnf install perl-Hash-Merge Package perl-Hash-Merge-0.302-4.el9.noarch is already installed. # dnf install perl-Excel-Writer-XLSX Installed: perl-Excel-Writer-XLSX-1.14-1.el9.noarch # yum update -y ./znuny-6.3.4-01.noarch.rpm Updating Subscription Management repositories. Red Hat Enterprise Linux 9 for x86_64 - AppStream (RPMs) 146 kB/s | 4.5 kB 00:00 Red Hat Enterprise Linux 9 for x86_64 - BaseOS (RPMs) 157 kB/s | 4.1 kB 00:00 Red Hat CodeReady Linux Builder for RHEL 9 x86_64 (RPMs) 149 kB/s | 4.5 kB 00:00 Dependencies resolved. ============================================================================================================================================================ Package Architecture Version Repository Size ============================================================================================================================================================ Upgrading: znuny noarch 6.3.4-01 @commandline 24 M Transaction Summary ============================================================================================================================================================ Upgrade 1 Package Total size: 24 M Downloading Packages: Running transaction check Transaction check succeeded. Running transaction test Transaction test succeeded. Running transaction Preparing : 1/1 Running scriptlet: znuny-6.3.4-01.noarch 1/2 Check OTRS user ... otrs exists. usermod: no changes usermod: no changes Upgrading : znuny-6.3.4-01.noarch 1/2 warning: /opt/otrs/Kernel/Config.pm created as /opt/otrs/Kernel/Config.pm.rpmnew Running scriptlet: znuny-6.3.4-01.noarch 1/2 Next steps: [restart web server] systemctl restart apache2.service [install the OTRS database] Make sure your database server is running. Use a web browser and open this link: http://znuny.phas.ubc.ca/otrs/installer.pl [start OTRS daemon and corresponding watchdog cronjob] /opt/otrs/bin/otrs.Daemon.pl start /opt/otrs/bin/Cron.sh start ((enjoy)) Your OTRS Team Cleanup : znuny-6.2.2-01.noarch 2/2 Verifying : znuny-6.3.4-01.noarch 1/2 Verifying : znuny-6.2.2-01.noarch 2/2 Installed products updated. Upgraded: znuny-6.3.4-01.noarch Complete! # /opt/otrs/bin/otrs.CheckModules.pl --all o Apache::DBI......................ok (v1.12) o Apache2::Reload..................ok (v0.13) o Archive::Tar.....................ok (v2.38) o Archive::Zip.....................ok (v1.68) o Authen::SASL.....................ok (v2.16) o Crypt::Eksblowfish::Bcrypt.......ok (v0.009) o CSS::Minifier::XS................Not installed! To install, you can use: 'yum install "perl(CSS::Minifier::XS)"'. (optional - Alternative to CSS::Minifier in XS, which is slightly faster than CSS::Minifier (pure Perl).) o Data::UUID.......................ok (v1.226) o Date::Format.....................ok (v2.24) o DateTime.........................ok (v1.54) o DateTime::TimeZone.............ok (v2.62) o DBI..............................ok (v1.643) o DBD::mysql.......................ok (v4.050) o DBD::ODBC........................Not installed! (optional - Required to connect to a MS-SQL database.) o DBD::Oracle......................Not installed! (optional - Required to connect to a Oracle database.) o DBD::Pg..........................Not installed! To install, you can use: 'yum install "perl(DBD::Pg)"'. (optional - Required to connect to a PostgreSQL database.) o Digest::SHA......................ok (v6.02) o Encode::HanExtra.................ok (v0.23) o Excel::Writer::XLSX..............ok (v0.95) o Hash::Merge......................ok (v0.302) o IO::Socket::SSL..................ok (v2.073) o JavaScript::Minifier::XS.........Not installed! To install, you can use: 'yum install "perl(JavaScript::Minifier::XS)"'. (optional - Alternative to JavaScript::Minifier in XS, which is slightly faster than JavaScript::Minifier (pure Perl).) o Jq...............................Not installed! To install, you can use: 'yum install "perl(Jq)"'. (optional - Support for extended condition checking via Jq for the generic interface.) o JSON::XS.........................ok (v4.03) o List::Util::XS...................ok (v1.56) o LWP::UserAgent...................ok (v6.53) o Mail::IMAPClient.................ok (v3.42) o IO::Socket::SSL................ok (v2.073) o Authen::NTLM...................ok (v1.09) o ModPerl::Util....................ok (v2.000012) o Moo..............................ok (v2.005004) o Net::DNS.........................ok (v1.29) o Net::LDAP........................ok (v0.68) o Net::SMTP........................ok (v3.13) o Spreadsheet::XLSX................ok (v0.18) o Template.........................ok (v3.009) o Template::Stash::XS..............ok (undef) o Text::Diff::FormattedHTML........ok (v0.08) o Text::CSV_XS.....................ok (v1.46) o Time::HiRes......................ok (v1.9764) o XML::LibXML......................ok (v2.0206) o XML::LibXSLT.....................ok (v1.99) o XML::Parser......................ok (v2.46) o YAML::XS.........................ok (v0.82) Bundled modules: o Algorithm::Diff..................ok (v1.1903) o Apache::DBI......................ok (v1.12) o CGI..............................ok (v4.36) o CSS::Minifier....................ok (v0.01) o Class::Inspector.................ok (v1.31) o Crypt::PasswdMD5.................ok (v1.40) o Crypt::Random::Source............ok (v0.14) o Email::Valid.....................ok (v1.202) o Encode::Locale...................ok (v1.05) o Exporter::Tiny...................ok (v1.002001) o IO::Interactive..................ok (v1.022) o JSON.............................ok (v2.94) o JSON::PP.........................ok (v2.27203) o JavaScript::Minifier.............ok (v1.15) o LWP..............................ok (v6.53) o Linux::Distribution..............ok (v0.23) o Locale::Codes....................ok (v3.52) o MIME::Tools......................ok (v5.509) o Mail::Address....................ok (v2.18) o Mail::Internet...................ok (v2.18) o Math::Random::ISAAC..............ok (v1.004) o Math::Random::Secure.............ok (v0.080001) o Module::Find.....................ok (v0.15) o Module::Refresh..................ok (v0.17) o Moo..............................ok (v2.005004) o Mozilla::CA......................ok (v20211001) o Net::HTTP........................ok (v6.17) o Net::IMAP::Simple................ok (v1.2209) o Net::SSLGlue.....................ok (v1.058) o PDF::API2........................ok (v2.033) o SOAP::Lite.......................ok (v1.20) o Sisimai..........................ok (vv4.25.11) o Sys::Hostname::Long..............ok (v1.5) o Text::CSV........................ok (v1.95) o Text::Diff.......................ok (v1.44) o Types::TypeTiny..................ok (v1.010000) o URI..............................ok (v1.71) o YAML.............................ok (v1.23) o namespace::clean.................ok (v0.27) o parent...........................ok (v0.236) [otrs@znuny ~]$ pwd /opt/otrs [otrs@znuny ~]$ scripts/MigrateToZnuny6_3.pl Migration started ... Checking requirements ... Requirement check for: Check required Perl version ... Requirement check for: Check required database version ... Requirement check for: Check database charset ... Requirement check for: Check required Perl modules ... Requirement check for: Check if database has been backed up ... Did you backup the database? [Y]es/[N]o: Y Requirement check for: Migrate dashboard widgets that execute system commands ... Requirement check for: Migrate PostMaster pre-filters that execute system commands ... Requirement check for: Upgrade database structure ... Requirement check for: Remove Generic Agent system commands ... Executing tasks ... Step 1 of 27: Check required Perl version ... Step 2 of 27: Check required database version ... Step 3 of 27: Check database charset ... Step 4 of 27: Check required Perl modules ... Step 5 of 27: Check installed CPAN modules for known vulnerabilities ... Step 6 of 27: Check if database has been backed up ... Step 7 of 27: Migrate dashboard widgets that execute system commands ... Step 8 of 27: Migrate PostMaster pre-filters that execute system commands ... Step 9 of 27: Migrate Excel stats format definitions ... Step 10 of 27: Upgrade database structure ... Step 11 of 27: Upgrade database structure for new scope attribute in ProcessManagement ... Step 12 of 27: Add history types ... Step 13 of 27: Migrate SysConfig settings ... Step 14 of 27: Migrate OAuth2 token database tables ... Step 15 of 27: Migrates calendar based ticket creation tables ... Step 16 of 27: Migrate database backends ... Step 17 of 27: Migrates mail account database table ... Step 18 of 27: Rebuild configuration ... Step 19 of 27: Remove Generic Agent system commands ... Step 20 of 27: Uninstall merged packages ... Step 21 of 27: Initialize default cron jobs ... Step 22 of 27: Clean up the cache ... Step 23 of 27: Rebuild configuration another time ... Step 24 of 27: Deploy ACLs ... Step 25 of 27: Deploy processes ... Step 26 of 27: Check invalid settings ... Step 27 of 27: ITSM upgrade check ... Migration completed! [otrs@znuny ~]$ bin/otrs.Console.pl Admin::Package::UpgradeAll There are no installed packages Done. [otrs@znuny ~]$ exit logout [root@znuny-EduCld-RH9 opt] 13:26:04 # su -c 'bin/Cron.sh start' - otrs (using /opt/otrs) done # systemctl start httpd # systemctl start postfix ========================================================================= 25-06-12 upgrade from znuny-6.3.4 to znuny-6.4 # dnf install perl-Crypt-JWT perl-Crypt-OpenSSL-X509 Installed: perl-Crypt-JWT-0.035-1.el9.noarch perl-Crypt-OpenSSL-X509-1.910-2.el9.x86_64 perl-CryptX-0.076-1.el9.x86_64 # dnf update -y ./znuny-6.4.3-01.noarch.rpm Updating Subscription Management repositories. Red Hat Enterprise Linux 9 for x86_64 - AppStream (RPMs) 157 kB/s | 4.5 kB 00:00 Red Hat Enterprise Linux 9 for x86_64 - BaseOS (RPMs) 139 kB/s | 4.1 kB 00:00 Red Hat CodeReady Linux Builder for RHEL 9 x86_64 (RPMs) 155 kB/s | 4.5 kB 00:00 Dependencies resolved. ============================================================================================================================================================ Package Architecture Version Repository Size ============================================================================================================================================================ Upgrading: znuny noarch 6.4.3-01 @commandline 24 M Transaction Summary ============================================================================================================================================================ Upgrade 1 Package Total size: 24 M Downloading Packages: Running transaction check Transaction check succeeded. Running transaction test Transaction test succeeded. Running transaction Preparing : 1/1 Running scriptlet: znuny-6.4.3-01.noarch 1/2 Check OTRS user ... otrs exists. usermod: no changes usermod: no changes Upgrading : znuny-6.4.3-01.noarch 1/2 Running scriptlet: znuny-6.4.3-01.noarch 1/2 Next steps: [restart web server] systemctl restart apache2.service [install the OTRS database] Make sure your database server is running. Use a web browser and open this link: http://znuny.phas.ubc.ca/otrs/installer.pl [start OTRS daemon and corresponding watchdog cronjob] /opt/otrs/bin/otrs.Daemon.pl start /opt/otrs/bin/Cron.sh start ((enjoy)) Your OTRS Team Cleanup : znuny-6.3.4-01.noarch 2/2 Verifying : znuny-6.4.3-01.noarch 1/2 Verifying : znuny-6.3.4-01.noarch 2/2 Installed products updated. Upgraded: znuny-6.4.3-01.noarch Complete! # /opt/otrs/bin/otrs.CheckModules.pl --all o Apache::DBI......................ok (v1.12) o Apache2::Reload..................ok (v0.13) o Archive::Tar.....................ok (v2.38) o Archive::Zip.....................ok (v1.68) o Authen::SASL.....................ok (v2.16) o Crypt::Eksblowfish::Bcrypt.......ok (v0.009) o Crypt::JWT.......................ok (v0.035) o Crypt::OpenSSL::X509.............ok (v1.910) o CSS::Minifier::XS................Not installed! To install, you can use: 'yum install "perl(CSS::Minifier::XS)"'. (optional - Alternative to CSS::Minifier in XS, which is slightly faster than CSS::Minifier (pure Perl).) o Data::UUID.......................ok (v1.226) o Date::Format.....................ok (v2.24) o DateTime.........................ok (v1.54) o DateTime::TimeZone.............ok (v2.62) o DBI..............................ok (v1.643) o DBD::mysql.......................ok (v4.050) o DBD::ODBC........................Not installed! (optional - Required to connect to a MS-SQL database.) o DBD::Oracle......................Not installed! (optional - Required to connect to a Oracle database.) o DBD::Pg..........................Not installed! To install, you can use: 'yum install "perl(DBD::Pg)"'. (optional - Required to connect to a PostgreSQL database.) o Digest::SHA......................ok (v6.02) o Encode::HanExtra.................ok (v0.23) o Excel::Writer::XLSX..............ok (v0.95) o Hash::Merge......................ok (v0.302) o IO::Socket::SSL..................ok (v2.073) o JavaScript::Minifier::XS.........Not installed! To install, you can use: 'yum install "perl(JavaScript::Minifier::XS)"'. (optional - Alternative to JavaScript::Minifier in XS, which is slightly faster than JavaScript::Minifier (pure Perl).) o Jq...............................Not installed! To install, you can use: 'yum install "perl(Jq)"'. (optional - Support for extended condition checking via Jq for the generic interface.) o JSON::XS.........................ok (v4.03) o List::Util::XS...................ok (v1.56) o LWP::UserAgent...................ok (v6.53) o Mail::IMAPClient.................ok (v3.42) o IO::Socket::SSL................ok (v2.073) o Authen::NTLM...................ok (v1.09) o ModPerl::Util....................ok (v2.000012) o Moo..............................ok (v2.005004) o Net::DNS.........................ok (v1.29) o Net::LDAP........................ok (v0.68) o Net::LDAP::Constant..............ok (v0.24) o Net::SMTP........................ok (v3.13) o Spreadsheet::XLSX................ok (v0.18) o Template.........................ok (v3.009) o Template::Stash::XS..............ok (undef) o Text::Diff::FormattedHTML........ok (v0.08) o Text::CSV_XS.....................ok (v1.46) o Time::HiRes......................ok (v1.9764) o XML::LibXML......................ok (v2.0206) o XML::LibXSLT.....................ok (v1.99) o XML::Parser......................ok (v2.46) o YAML::XS.........................ok (v0.82) Bundled modules: o Algorithm::Diff..................ok (v1.1903) o Apache::DBI......................ok (v1.12) o CGI..............................ok (v4.36) o CSS::Minifier....................ok (v0.01) o Class::Inspector.................ok (v1.31) o Crypt::PasswdMD5.................ok (v1.40) o Crypt::Random::Source............ok (v0.14) o Email::Valid.....................ok (v1.202) o Encode::Locale...................ok (v1.05) o Exporter::Tiny...................ok (v1.002001) o IO::Interactive..................ok (v1.022) o JSON.............................ok (v2.94) o JSON::PP.........................ok (v2.27203) o JavaScript::Minifier.............ok (v1.15) o LWP..............................ok (v6.53) o Linux::Distribution..............ok (v0.23) o Locale::Codes....................ok (v3.52) o MIME::Tools......................ok (v5.509) o Mail::Address....................ok (v2.18) o Mail::Internet...................ok (v2.18) o Math::Random::ISAAC..............ok (v1.004) o Math::Random::Secure.............ok (v0.080001) o Module::Find.....................ok (v0.15) o Module::Refresh..................ok (v0.17) o Moo..............................ok (v2.005004) o Mozilla::CA......................ok (v20211001) o Net::HTTP........................ok (v6.17) o Net::IMAP::Simple................ok (v1.2209) o Net::SSLGlue.....................ok (v1.058) o PDF::API2........................ok (v2.033) o SOAP::Lite.......................ok (v1.20) o Sisimai..........................ok (vv4.25.11) o Sys::Hostname::Long..............ok (v1.5) o Text::CSV........................ok (v1.95) o Text::Diff.......................ok (v1.44) o Types::TypeTiny..................ok (v1.010000) o URI..............................ok (v1.71) o YAML.............................ok (v1.23) o namespace::clean.................ok (v0.27) o parent...........................ok (v0.236) # su - otrs Last login: Thu Jun 12 14:35:10 PDT 2025 on pts/0 [otrs@znuny ~]$ scripts/MigrateToZnuny6_4.pl Migration started ... Checking requirements ... Requirement check for: Check required Perl version ... Requirement check for: Check required database version ... Requirement check for: Check database charset ... Requirement check for: Check required Perl modules ... Requirement check for: Check if database has been backed up ... Did you backup the database? [Y]es/[N]o: Y Requirement check for: Upgrade database structure ... Executing tasks ... Step 1 of 16: Check required Perl version ... Step 2 of 16: Check required database version ... Step 3 of 16: Check database charset ... Step 4 of 16: Check required Perl modules ... Step 5 of 16: Check installed CPAN modules for known vulnerabilities ... Step 6 of 16: Check if database has been backed up ... Step 7 of 16: Upgrade database structure ... Step 8 of 16: Migrate SysConfig settings ... Step 9 of 16: Rebuild configuration ... Step 10 of 16: Uninstall merged packages ... Step 11 of 16: Initialize default cron jobs ... Step 12 of 16: Clean up the cache ... Step 13 of 16: Rebuild configuration another time ... Step 14 of 16: Deploy ACLs ... Step 15 of 16: Deploy processes ... Step 16 of 16: Check invalid settings ... Migration completed! [otrs@znuny ~]$ bin/otrs.Console.pl Admin::Package::UpgradeAll There are no installed packages Done. # su -c 'bin/Cron.sh start' - otrs (using /opt/otrs) done # systemctl start httpd # systemctl start postfix ========================================================================= 25-06-12 upgrade from znuny-6.4.3 to znuny-6.5 # pwd /opt/otrs [root@znuny-EduCld-RH9 otrs] 14:54:21 # systemctl stop httpd [root@znuny-EduCld-RH9 otrs] 14:54:51 # systemctl stop postfix [root@znuny-EduCld-RH9 otrs] 14:54:58 # # Remove crontab, stop daemon su -c 'bin/Cron.sh stop' - otrs done [root@znuny-EduCld-RH9 otrs] 14:56:24 # su -c 'bin/otrs.Daemon.pl stop' - otrs Manage the OTRS daemon process. Daemon stopped # dnf update -y ./znuny-6.5.15-01.noarch.rpm Updating Subscription Management repositories. Red Hat Enterprise Linux 9 for x86_64 - AppStream (RPMs) 158 kB/s | 4.5 kB 00:00 Red Hat Enterprise Linux 9 for x86_64 - BaseOS (RPMs) 146 kB/s | 4.1 kB 00:00 Red Hat CodeReady Linux Builder for RHEL 9 x86_64 (RPMs) 143 kB/s | 4.5 kB 00:00 Dependencies resolved. ============================================================================================================================================================ Package Architecture Version Repository Size ============================================================================================================================================================ Upgrading: znuny noarch 6.5.15-01 @commandline 18 M Transaction Summary ============================================================================================================================================================ Upgrade 1 Package Total size: 18 M Downloading Packages: Running transaction check Transaction check succeeded. Running transaction test Transaction test succeeded. Running transaction Preparing : 1/1 Running scriptlet: znuny-6.5.15-01.noarch 1/2 Check OTRS user ... otrs exists. usermod: no changes usermod: no changes Upgrading : znuny-6.5.15-01.noarch 1/2 warning: /opt/otrs/Kernel/Config.pm created as /opt/otrs/Kernel/Config.pm.rpmnew Running scriptlet: znuny-6.5.15-01.noarch 1/2 Next steps: [restart web server] systemctl restart apache2.service [install the OTRS database] Make sure your database server is running. Use a web browser and open this link: http://znuny.phas.ubc.ca/otrs/installer.pl [start OTRS daemon and corresponding watchdog cronjob] /opt/otrs/bin/otrs.Daemon.pl start /opt/otrs/bin/Cron.sh start ((enjoy)) Your OTRS Team Cleanup : znuny-6.4.3-01.noarch 2/2 Verifying : znuny-6.5.15-01.noarch 1/2 Verifying : znuny-6.4.3-01.noarch 2/2 Installed products updated. Upgraded: znuny-6.5.15-01.noarch Complete! # Check for missing modules and add required modules /opt/otrs/bin/otrs.CheckModules.pl --all o Apache::DBI......................ok (v1.12) o Apache2::Reload..................ok (v0.13) o Archive::Tar.....................ok (v2.38) o Archive::Zip.....................ok (v1.68) o Authen::SASL.....................ok (v2.16) o CPAN::Audit......................Not installed! To install, you can use: 'yum install "perl(CPAN::Audit)"'. (optional - Scan CPAN dependencies in Kernel/cpan-lib and in the system for known vulnerabilities.) o Crypt::Eksblowfish::Bcrypt.......ok (v0.009) o Crypt::JWT.......................ok (v0.035) o Crypt::OpenSSL::X509.............ok (v1.910) o CSS::Minifier::XS................Not installed! To install, you can use: 'yum install "perl(CSS::Minifier::XS)"'. (optional - Alternative to CSS::Minifier in XS, which is slightly faster than CSS::Minifier (pure Perl).) o Data::UUID.......................ok (v1.226) o Date::Format.....................ok (v2.24) o DateTime.........................ok (v1.54) o DateTime::TimeZone.............ok (v2.62) o DBI..............................ok (v1.643) o DBD::mysql.......................ok (v4.050) o DBD::ODBC........................Not installed! (optional - Required to connect to a MS-SQL database.) o DBD::Oracle......................Not installed! (optional - Required to connect to a Oracle database.) o DBD::Pg..........................Not installed! To install, you can use: 'yum install "perl(DBD::Pg)"'. (optional - Required to connect to a PostgreSQL database.) o Digest::SHA......................ok (v6.02) o Encode::HanExtra.................ok (v0.23) o Excel::Writer::XLSX..............ok (v0.95) o Hash::Merge......................ok (v0.302) o iCal::Parser.....................Not installed! To install, you can use: 'yum install "perl(iCal::Parser)"'. (required - Required for calendar events.) o IO::Socket::SSL..................ok (v2.073) o JavaScript::Minifier::XS.........Not installed! To install, you can use: 'yum install "perl(JavaScript::Minifier::XS)"'. (optional - Alternative to JavaScript::Minifier in XS, which is slightly faster than JavaScript::Minifier (pure Perl).) o Jq...............................Not installed! To install, you can use: 'yum install "perl(Jq)"'. (optional - Support for extended condition checking via Jq for the generic interface.) o JSON::XS.........................ok (v4.03) o List::Util::XS...................ok (v1.56) o LWP::UserAgent...................ok (v6.53) o Mail::IMAPClient.................ok (v3.42) o IO::Socket::SSL................ok (v2.073) o Authen::NTLM...................ok (v1.09) o ModPerl::Util....................ok (v2.000012) o Moo..............................ok (v2.005004) o Net::DNS.........................ok (v1.29) o Net::LDAP........................ok (v0.68) o Net::LDAP::Constant..............ok (v0.24) o Net::SMTP........................ok (v3.13) o Spreadsheet::XLSX................ok (v0.18) o Template.........................ok (v3.009) o Template::Stash::XS..............ok (undef) o Text::Diff::FormattedHTML........ok (v0.08) o Text::CSV_XS.....................ok (v1.46) o Time::HiRes......................ok (v1.9764) o Time::Piece......................ok (v1.3401) o XML::LibXML......................ok (v2.0206) o XML::LibXSLT.....................ok (v1.99) o XML::Parser......................ok (v2.46) o YAML::XS.........................ok (v0.82) Bundled modules: o Algorithm::Diff..................ok (v1.1903) o Apache::DBI......................ok (v1.12) o CGI..............................ok (v4.36) o CSS::Minifier....................ok (v0.01) o Class::Inspector.................ok (v1.31) o Crypt::PasswdMD5.................ok (v1.40) o Crypt::Random::Source............ok (v0.14) o Email::Valid.....................ok (v1.202) o Encode::Locale...................ok (v1.05) o Exporter::Tiny...................ok (v1.002001) o IO::Interactive..................ok (v1.022) o JSON.............................ok (v2.94) o JSON::PP.........................ok (v2.27203) o JavaScript::Minifier.............ok (v1.15) o LWP..............................ok (v6.53) o Linux::Distribution..............ok (v0.23) o Locale::Codes....................ok (v3.52) o MIME::Tools......................ok (v5.509) o Mail::Address....................ok (v2.18) o Mail::Internet...................ok (v2.18) o Math::Random::ISAAC..............ok (v1.004) o Math::Random::Secure.............ok (v0.080001) o Module::Find.....................ok (v0.15) o Module::Refresh..................ok (v0.17) o Moo..............................ok (v2.005004) o Mozilla::CA......................ok (v20211001) o Net::HTTP........................ok (v6.17) o Net::IMAP::Simple................ok (undef) o Net::SSLGlue.....................ok (v1.058) o PDF::API2........................ok (v2.033) o SOAP::Lite.......................ok (v1.20) o Sisimai..........................ok (vv4.25.16) o Sys::Hostname::Long..............ok (v1.5) o Text::CSV........................ok (v1.95) o Text::Diff.......................ok (v1.44) o Types::TypeTiny..................ok (v1.010000) o URI..............................ok (v1.71) o YAML.............................ok (v1.23) o namespace::clean.................ok (v0.27) o parent...........................ok (v0.236) # dnf -y install perl-iCal-Parser Installed: perl-Class-Accessor-0.51-13.el9.noarch perl-Class-Accessor-Chained-0.01-53.el9.noarch perl-DateTime-Event-ICal-0.13-22.el9.noarch perl-DateTime-Event-Recurrence-0.19-19.el9.noarch perl-DateTime-Format-ICal-0.09-41.el9.noarch perl-DateTime-Set-0.3900-20.el9.noarch perl-IO-String-1.08-43.el9.noarch perl-Params-Validate-1.30-4.el9.x86_64 perl-Set-Infinite-0.65-37.el9.noarch perl-Text-vFile-asData-0.08-37.el9.noarch perl-iCal-Parser-1.21-26.el9.noarch # su - otrs Last login: Thu Jun 12 14:56:30 PDT 2025 on pts/0 [otrs@znuny ~]$ pwd /opt/otrs [otrs@znuny ~]$ scripts/MigrateToZnuny6_5.pl Migration started ... Checking requirements ... Requirement check for: Check required Perl version ... Requirement check for: Check required database version ... Requirement check for: Check database charset ... Requirement check for: Check required Perl modules ... Requirement check for: Check if database has been backed up ... Did you backup the database? [Y]es/[N]o: Y Requirement check for: Upgrade database structure ... Requirement check for: Migrate SysConfig settings ... Should the SysConfig be migrated? [Y]es/[N]o: Y Executing tasks ... Step 1 of 21: Check required Perl version ... Step 2 of 21: Check required database version ... Step 3 of 21: Check database charset ... Step 4 of 21: Check required Perl modules ... Step 5 of 21: Check if database has been backed up ... Step 6 of 21: Upgrade database structure ... Step 7 of 21: Rebuild configuration ... Step 8 of 21: Migrate SysConfig settings ... Step 9 of 21: Migrate DBCRUD UUID columns ... Calendar::Plugin: Column dbcrud_uuid in table calendar_appointment_plugin... Column successfully created OAuth2Token: Column dbcrud_uuid in table oauth2_token... Column already exists OAuth2TokenConfig: Column dbcrud_uuid in table oauth2_token_config... Column already exists Step 10 of 21: Migrate dynamic fields ... Step 11 of 21: Migrate notification events ... Step 12 of 21: Integrate Znuny-NoteToLinkedTicket ... Step 13 of 21: Migrate groups ... Step 14 of 21: Cleanup orphaned mentions ... Step 15 of 21: Uninstall merged packages ... Step 16 of 21: Initialize default cron jobs ... Step 17 of 21: Clean up the cache ... Step 18 of 21: Rebuild configuration another time ... Step 19 of 21: Deploy ACLs ... Step 20 of 21: Deploy processes ... Step 21 of 21: Check invalid settings ... Migration completed! [otrs@znuny ~]$ bin/otrs.Console.pl Admin::Package::UpgradeAll There are no installed packages Done. [otrs@znuny ~]$ exit logout [root@znuny-EduCld-RH9 otrs] 15:04:15 # Fill the crontab and wait(!) at least 5 minutes that the Daemon is started via cron # su -c 'bin/Cron.sh start' - otrs (using /opt/otrs) done # systemctl start httpd # systemctl start postfix # su -c 'bin/otrs.Daemon.pl status' - otrs Manage the OTRS daemon process. Daemon running # cat /opt/otrs/RELEASE PRODUCT = Znuny VERSION = 6.5.15 BUILDDATE = Wed Apr 30 13:09:44 CEST 2025 BUILDHOST = ci-runner-03.internal.znuny.com COMMIT_ID = 7e7301d9b29dd3cfca31dcc4d1143f4d01cafd56 RPM DOWNLOADS: https://download.znuny.org/releases/RPMS/rhel/7/ ========================================================================= 25-06-16 upgrade to znuny 7.0.19-01 https://doc.znuny.org/znuny-7_0/releases/installupdate/update/update-7.0.html ## Stop the webserver # systemctl stop httpd ## Stop your local MTA, mostly Postfix, sometimes Exim or Sendmail # systemctl stop postfix ## Remove crontab, stop daemon # su -c 'bin/Cron.sh stop' - otrs done # su -c 'bin/otrs.Daemon.pl stop' - otrs Manage the OTRS daemon process. Daemon stopped # dnf update -y ./znuny-7.0.19-01.noarch.rpm Running transaction Preparing : 1/1 Running scriptlet: znuny-7.0.19-01.noarch 1/2 Check Znuny user ... znuny exists. usermod: no changes usermod: no changes Upgrading : znuny-7.0.19-01.noarch 1/2 Running scriptlet: znuny-7.0.19-01.noarch 1/2 Next steps: [restart web server] systemctl restart apache2.service [install the Znuny database] Make sure your database server is running. Use a web browser and open this link: http://znuny.phas.ubc.ca/znuny/installer.pl [start Znuny daemon and corresponding watchdog cronjob] /opt/znuny/bin/znuny.Daemon.pl start /opt/znuny/bin/Cron.sh start Cleanup : znuny-6.5.15-01.noarch 2/2 warning: /opt/otrs/Kernel/Config.pm saved as /opt/otrs/Kernel/Config.pm.rpmsave Verifying : znuny-7.0.19-01.noarch 1/2 Verifying : znuny-6.5.15-01.noarch 2/2 Installed products updated. Upgraded: znuny-7.0.19-01.noarch Complete! ///////////////////////////////////////////////////////////////////// # su - znuny [znuny@znuny ~]$ pwd /opt/znuny [znuny@znuny ~]$ ls ARCHIVE bin CONTRIBUTING.md COPYING-Third-Party doc INSTALL.md README.md scripts UPDATING.md AUTHORS.md CHANGES.md COPYING Custom i18n Kernel RELEASE SECURITY.md var [znuny@znuny ~]$ ll total 1508 -rw-rw---- 1 znuny apache 438166 Jun 26 2024 ARCHIVE -rw-rw---- 1 znuny apache 6008 Jun 26 2024 AUTHORS.md drwxrwsr-x 4 znuny apache 4096 Jun 16 15:25 bin -rw-rw---- 1 znuny apache 997086 Jun 26 2024 CHANGES.md -rw-rw---- 1 znuny apache 5665 Jun 26 2024 CONTRIBUTING.md -rw-rw---- 1 znuny apache 35149 Jun 26 2024 COPYING -rw-rw---- 1 znuny apache 16908 Jun 26 2024 COPYING-Third-Party drwxrwsr-x 2 znuny apache 20 Jun 16 15:25 Custom drwxrwsr-x 3 znuny apache 43 Jun 16 15:25 doc drwxr-xr-x 3 root root 19 Jun 16 15:25 i18n -rw-rw---- 1 znuny apache 137 Jun 26 2024 INSTALL.md drwxrwsr-x 10 znuny apache 4096 Jun 16 15:25 Kernel -rw-rw---- 1 znuny apache 3503 Jun 26 2024 README.md -rw-rw---- 1 znuny apache 163 Jun 26 2024 RELEASE drwxrwsr-x 11 znuny apache 4096 Jun 16 15:25 scripts -rw-rw---- 1 znuny apache 3552 Jun 26 2024 SECURITY.md -rw-rw---- 1 znuny apache 142 Jun 26 2024 UPDATING.md drwxrwsr-x 13 znuny apache 159 Jun 16 15:25 var [znuny@znuny ~]$ scripts/MigrateToZnuny7_0.pl Migration started ... [Mon Jun 16 15:26:56 2025] MigrateToZnuny7_0.pl: DBI connect('database=znuny;host=127.0.0.1;','znuny',...) failed: Access denied for user 'znuny'@'localhost' (using password: YES) at /opt/znuny/Kernel/System/DB.pm line 209. ERROR: MigrateToZnuny7_0.pl-10 Perl: 5.32.1 OS: linux Time: Mon Jun 16 22:26:56 2025 Message: Access denied for user 'znuny'@'localhost' (using password: YES) Traceback (77325): Module: Kernel::System::DB::Prepare Line: 709 Module: Kernel::System::SysConfig::DB::DeploymentListCleanup Line: 5346 Module: Kernel::System::SysConfig::ConfigurationDeploySync Line: 3694 Module: Kernel::System::SysConfig::CreateZZZAAutoBackup Line: 6305 Module: scripts::Migration::Run Line: 65 Module: scripts/MigrateToZnuny7_0.pl Line: 82 [Mon Jun 16 15:26:56 2025] MigrateToZnuny7_0.pl: Use of uninitialized value $CleanupSuccess in numeric ne (!=) at /opt/znuny/Kernel/System/SysConfig.pm line 3699. ERROR: MigrateToZnuny7_0.pl-10 Perl: 5.32.1 OS: linux Time: Mon Jun 16 22:26:56 2025 Message: There are invalid deployments in the database that could not be removed! Traceback (77325): Module: Kernel::System::SysConfig::ConfigurationDeploySync Line: 3700 Module: Kernel::System::SysConfig::CreateZZZAAutoBackup Line: 6305 Module: scripts::Migration::Run Line: 65 Module: scripts/MigrateToZnuny7_0.pl Line: 82 Error backing up ZZZAAuto file. ///////////////////////////////////////////////////////////////////// 25-06-17 Znuny daemon is not running # su - znuny [znuny@znuny ~]$ /opt/znuny/bin/Cron.sh start (using /opt/znuny) done # su -c "scripts/MigrateToZnuny7_0.pl" -s /bin/bash znuny Migration started ... Checking requirements ... Requirement check for: Check required Perl version ... Requirement check for: Check required database version ... Requirement check for: Check database charset ... Requirement check for: Check database default storage engine ... Requirement check for: Check required Perl modules ... Requirement check for: Check if database has been backed up ... Did you backup the database? [Y]es/[N]o: Y Requirement check for: Upgrade database structure ... Requirement check for: Migrate SysConfig settings ... Should the SysConfig be migrated? [Y]es/[N]o: Y Executing tasks ... Step 1 of 22: Check required Perl version ... Step 2 of 22: Check required database version ... Step 3 of 22: Check database charset ... Step 4 of 22: Check database default storage engine ... Step 5 of 22: Check required Perl modules ... Step 6 of 22: Check if database has been backed up ... Step 7 of 22: Upgrade database structure ... Step 8 of 22: Rebuild configuration ... Step 9 of 22: Migrate SysConfig settings ... Step 10 of 22: Migrate DBCRUD UUID columns ... Activity: Column dbcrud_uuid in table activity... Column successfully created Calendar::Plugin: Column dbcrud_uuid in table calendar_appointment_plugin... Column already exists OAuth2Token: Column dbcrud_uuid in table oauth2_token... Column already exists OAuth2TokenConfig: Column dbcrud_uuid in table oauth2_token_config... Column already exists Step 11 of 22: Migrate dynamic fields ... Step 12 of 22: Migrate notification events ... Step 13 of 22: Integrate Znuny-NoteToLinkedTicket ... Step 14 of 22: Migrate groups ... Step 15 of 22: Cleanup orphaned mentions ... Step 16 of 22: Uninstall merged packages ... Step 17 of 22: Initialize default cron jobs ... Step 18 of 22: Clean up the cache ... Step 19 of 22: Rebuild configuration another time ... Step 20 of 22: Deploy ACLs ... Step 21 of 22: Deploy processes ... Step 22 of 22: Check invalid settings ... Migration completed! ============================================================================= 25-06-18 # cd /opt/znuny/Kernel/Config/Files/ # ll total 368 drwxrwsr-x 2 znuny apache 157 Jun 16 15:25 XML -rw-rw---- 1 apache apache 367629 Jun 18 09:28 ZZZAAuto.pm -rw-rw---- 1 znuny apache 228 Jun 17 14:27 ZZZACL.pm -rw-rw---- 1 znuny apache 524 Jun 17 14:27 ZZZProcessManagement.pm # vim CustomAgentSkins.xml # cat CustomAgentSkins.xml Default skin for the agent interface. Frontend::Base::Loader slim Slim This is the SLIM skin. www.znuny.org # chown znuny CustomAgentSkins.xml # su - znuny [znuny@znuny ~]$ ls bin cgi-bin fcgi-bin otrs.CheckSum.pl otrs.Daemon.pl znuny.CheckModules.pl znuny.Console.pl znuny.SetPermissions.pl Cron.sh otrs.CheckModules.pl otrs.Console.pl otrs.SetPermissions.pl znuny.CheckSum.pl znuny.Daemon.pl [znuny@znuny ~]$ bin/znuny.Console.pl Maint::Config::Rebuild Rebuilding the system configuration... Done. upgrade from 7.0.19 to 7.1 # cat RELEASE PRODUCT = Znuny VERSION = 7.0.19 BUILDDATE = Wed Jun 26 10:28:09 CEST 2024 BUILDHOST = ci-runner-01.znuny.com COMMIT_ID = 13acc98c4a04db688aacaf439edba1885fc0f93d [root@znuny-EduCld-RH9 znuny] 10:37:44 # pwd /opt/znuny # systemctl stop httpd # systemctl stop postfix # su -c 'bin/Cron.sh stop' - znuny done # su -c 'bin/znuny.Daemon.pl stop' - znuny Manage the Znuny daemon process. Daemon stopped # dnf update -y ./znuny-7.1.7-01.noarch.rpm Updating Subscription Management repositories. Red Hat Enterprise Linux 9 for x86_64 - AppStream (RPMs) 148 kB/s | 4.5 kB 00:00 Red Hat Enterprise Linux 9 for x86_64 - BaseOS (RPMs) 140 kB/s | 4.1 kB 00:00 Red Hat CodeReady Linux Builder for RHEL 9 x86_64 (RPMs) 156 kB/s | 4.5 kB 00:00 Dependencies resolved. ================================================================================================================================================================ Package Architecture Version Repository Size ================================================================================================================================================================ Upgrading: znuny noarch 7.1.7-01 @commandline 18 M Transaction Summary ================================================================================================================================================================ Upgrade 1 Package Total size: 18 M Downloading Packages: Running transaction check Transaction check succeeded. Running transaction test Transaction test succeeded. Running transaction Preparing : 1/1 Running scriptlet: znuny-7.1.7-01.noarch 1/2 Check Znuny user ... znuny exists. usermod: no changes usermod: no changes Upgrading : znuny-7.1.7-01.noarch 1/2 Running scriptlet: znuny-7.1.7-01.noarch 1/2 Next steps: [restart web server] systemctl restart apache2.service [install the Znuny database] Make sure your database server is running. Use a web browser and open this link: http://znuny.phas.ubc.ca/znuny/installer.pl [start Znuny daemon and corresponding watchdog cronjob] /opt/znuny/bin/znuny.Daemon.pl start /opt/znuny/bin/Cron.sh start Cleanup : znuny-7.0.19-01.noarch 2/2 Verifying : znuny-7.1.7-01.noarch 1/2 Verifying : znuny-7.0.19-01.noarch 2/2 Installed products updated. Upgraded: znuny-7.1.7-01.noarch Complete! [root@znuny-EduCld-RH9 opt] 10:43:22 # /opt/znuny/bin/znuny.CheckModules.pl --all o Apache::DBI......................ok (v1.12) o Apache2::Reload..................ok (v0.13) o Archive::Tar.....................ok (v2.38) o Archive::Zip.....................ok (v1.68) o Authen::SASL.....................ok (v2.16) o Crypt::Eksblowfish::Bcrypt.......ok (v0.009) o Crypt::JWT.......................ok (v0.035) o Crypt::OpenSSL::X509.............ok (v1.910) o CSS::Minifier::XS................Not installed! To install, you can use: 'yum install "perl(CSS::Minifier::XS)"'. (optional - Alternative to CSS::Minifier in XS, which is slightly faster than CSS::Minifier (pure Perl).) o Data::UUID.......................ok (v1.226) o Date::Format.....................ok (v2.24) o DateTime.........................ok (v1.54) o DateTime::TimeZone.............ok (v2.62) o DBI..............................ok (v1.643) o DBD::mysql.......................ok (v4.050) o DBD::ODBC........................Not installed! (optional - Required to connect to a MS-SQL database.) o DBD::Oracle......................Not installed! (optional - Required to connect to a Oracle database.) o DBD::Pg..........................Not installed! To install, you can use: 'yum install "perl(DBD::Pg)"'. (optional - Required to connect to a PostgreSQL database.) o Digest::SHA......................ok (v6.02) o Encode::HanExtra.................ok (v0.23) o Excel::Writer::XLSX..............ok (v0.95) o Hash::Merge......................ok (v0.302) o iCal::Parser.....................ok (v1.21) o IO::Socket::SSL..................ok (v2.073) o JavaScript::Minifier::XS.........Not installed! To install, you can use: 'yum install "perl(JavaScript::Minifier::XS)"'. (optional - Alternative to JavaScript::Minifier in XS, which is slightly faster than JavaScript::Minifier (pure Perl).) o Jq...............................Not installed! To install, you can use: 'yum install "perl(Jq)"'. (optional - Support for extended condition checking via Jq for the generic interface.) o JSON::XS.........................ok (v4.03) o List::Util::XS...................ok (v1.56) o LWP::UserAgent...................ok (v6.53) o Mail::IMAPClient.................ok (v3.42) o IO::Socket::SSL................ok (v2.073) o Authen::NTLM...................ok (v1.09) o ModPerl::Util....................ok (v2.000012) o Moo..............................ok (v2.005004) o Net::DNS.........................ok (v1.29) o Net::LDAP........................ok (v0.68) o Net::LDAP::Constant..............ok (v0.24) o Net::SMTP........................ok (v3.13) o Spreadsheet::XLSX................ok (v0.18) o Template.........................ok (v3.009) o Template::Stash::XS..............ok (undef) o Text::Diff::FormattedHTML........ok (v0.08) o Text::CSV_XS.....................ok (v1.46) o Time::HiRes......................ok (v1.9764) o Time::Piece......................ok (v1.3401) o XML::LibXML......................ok (v2.0206) o XML::LibXSLT.....................ok (v1.99) o XML::Parser......................ok (v2.46) o YAML::XS.........................ok (v0.82) Bundled modules: o Algorithm::Diff..................ok (v1.1903) o Apache::DBI......................ok (v1.12) o CGI..............................ok (v4.36) o CSS::Minifier....................ok (v0.01) o Class::Inspector.................ok (v1.31) o Crypt::PasswdMD5.................ok (v1.40) o Crypt::Random::Source............ok (v0.14) o Email::Valid.....................ok (v1.202) o Encode::Locale...................ok (v1.05) o Exporter::Tiny...................ok (v1.002001) o IO::Interactive..................ok (v1.022) o JSON.............................ok (v2.94) o JSON::PP.........................ok (v2.27203) o JavaScript::Minifier.............ok (v1.15) o LWP..............................ok (v6.53) o Linux::Distribution..............ok (v0.23) o Locale::Codes....................ok (v3.52) o MIME::Tools......................ok (v5.509) o Mail::Address....................ok (v2.18) o Mail::Internet...................ok (v2.18) o Math::Random::ISAAC..............ok (v1.004) o Math::Random::Secure.............ok (v0.080001) o Module::Find.....................ok (v0.15) o Module::Refresh..................ok (v0.17) o Moo..............................ok (v2.005004) o Mozilla::CA......................ok (v20211001) o Net::HTTP........................ok (v6.17) o Net::IMAP::Simple................ok (undef) o Net::SSLGlue.....................ok (v1.058) o PDF::API2........................ok (v2.033) o SOAP::Lite.......................ok (v1.20) o Sisimai..........................ok (vv4.25.16) o Sys::Hostname::Long..............ok (v1.5) o Text::CSV........................ok (v1.95) o Text::Diff.......................ok (v1.44) o Types::TypeTiny..................ok (v1.010000) o URI..............................ok (v1.71) o YAML.............................ok (v1.23) o namespace::clean.................ok (v0.27) o parent...........................ok (v0.236) # su -c 'scripts/MigrateToZnuny7_1.pl --verbose' - znuny Migration started ... Checking requirements ... Requirement check for: Check required Perl version ... Installed Perl version: v5.32.1. Minimum required Perl version: v5.16.0. Requirement check for: Check required Perl modules ... Executing /opt/znuny/bin/znuny.CheckModules.pl to check for missing required modules. o Apache::DBI......................ok (v1.12) o Apache2::Reload..................ok (v0.13) o Archive::Tar.....................ok (v2.38) o Archive::Zip.....................ok (v1.68) o Authen::SASL.....................ok (v2.16) o Crypt::Eksblowfish::Bcrypt.......ok (v0.009) o Crypt::JWT.......................ok (v0.035) o Crypt::OpenSSL::X509.............ok (v1.910) o CSS::Minifier::XS................Not installed! To install, you can use: 'yum install "perl(CSS::Minifier::XS)"'. (optional - Alternative to CSS::Minifier in XS, which is slightly faster than CSS::Minifier (pure Perl).) o Data::UUID.......................ok (v1.226) o Date::Format.....................ok (v2.24) o DateTime.........................ok (v1.54) o DateTime::TimeZone.............ok (v2.62) o DBI..............................ok (v1.643) o DBD::mysql.......................ok (v4.050) o DBD::ODBC........................Not installed! (optional - Required to connect to a MS-SQL database.) o DBD::Oracle......................Not installed! (optional - Required to connect to a Oracle database.) o DBD::Pg..........................Not installed! To install, you can use: 'yum install "perl(DBD::Pg)"'. (optional - Required to connect to a PostgreSQL database.) o Digest::SHA......................ok (v6.02) o Encode::HanExtra.................ok (v0.23) o Excel::Writer::XLSX..............ok (v0.95) o Hash::Merge......................ok (v0.302) o iCal::Parser.....................ok (v1.21) o IO::Socket::SSL..................ok (v2.073) o JavaScript::Minifier::XS.........Not installed! To install, you can use: 'yum install "perl(JavaScript::Minifier::XS)"'. (optional - Alternative to JavaScript::Minifier in XS, which is slightly faster than JavaScript::Minifier (pure Perl).) o Jq...............................Not installed! To install, you can use: 'yum install "perl(Jq)"'. (optional - Support for extended condition checking via Jq for the generic interface.) o JSON::XS.........................ok (v4.03) o List::Util::XS...................ok (v1.56) o LWP::UserAgent...................ok (v6.53) o Mail::IMAPClient.................ok (v3.42) o IO::Socket::SSL................ok (v2.073) o Authen::NTLM...................ok (v1.09) o ModPerl::Util....................ok (v2.000012) o Moo..............................ok (v2.005004) o Net::DNS.........................ok (v1.29) o Net::LDAP........................ok (v0.68) o Net::LDAP::Constant..............ok (v0.24) o Net::SMTP........................ok (v3.13) o Spreadsheet::XLSX................ok (v0.18) o Template.........................ok (v3.009) o Template::Stash::XS..............ok (undef) o Text::Diff::FormattedHTML........ok (v0.08) o Text::CSV_XS.....................ok (v1.46) o Time::HiRes......................ok (v1.9764) o Time::Piece......................ok (v1.3401) o XML::LibXML......................ok (v2.0206) o XML::LibXSLT.....................ok (v1.99) o XML::Parser......................ok (v2.46) o YAML::XS.........................ok (v0.82) Requirement check for: Check if database has been backed up ... Warning: this script can make changes to your database which are irreversible. Make sure you have properly backed up complete database before continuing. Did you backup the database? [Y]es/[N]o: Y Requirement check for: Check required database version ... Installed database version: MariaDB 10.5.27. Minimum required database version: 10.3.0. Requirement check for: Check database default storage engine ... The setting default_storage_engine is: InnoDB. Requirement check for: Upgrade database structure ... Trying to connect to database 'DBI:mysql:database=otrs;host=127.0.0.1;' with user 'znuny'... Connection successful. Requirement check for: Check database charset ... Requirement check for: Migrate SysConfig settings ... Warning: The following SysConfig settings will be modified. ------------------------------------------------------------------------ Name: Loader::Agent::CommonJS###000-Framework Update value(s): thirdparty/jquery-jstree-3.3.7/jquery.jstree.js => thirdparty/jquery-jstree-3.3.8/jquery.jstree.js thirdparty/nunjucks-3.2.2/nunjucks.min.js => thirdparty/nunjucks-3.2.3/nunjucks.min.js ------------------------------------------------------------------------ Name: Loader::Customer::CommonJS###000-Framework Update value(s): thirdparty/jquery-jstree-3.3.7/jquery.jstree.js => thirdparty/jquery-jstree-3.3.8/jquery.jstree.js thirdparty/nunjucks-3.2.2/nunjucks.min.js => thirdparty/nunjucks-3.2.3/nunjucks.min.js ------------------------------------------------------------------------ Should the SysConfig be migrated? [Y]es/[N]o: Y Executing tasks ... Step 1 of 22: Check required Perl version ... Step 2 of 22: Check required Perl modules ... Step 3 of 22: Check if database has been backed up ... Step 4 of 22: Check required database version ... Step 5 of 22: Check database default storage engine ... Step 6 of 22: Upgrade database structure ... - Increase size of columns of database table standard_template - Create missing primary keys for database tables. - Increase size of columns of database table search_profile Step 7 of 22: Migrate database to utf8mb4 ... Variable 'default_storage_engine' is 'InnoDB'. Variable 'innodb_file_per_table' is 'ON'. Character set of the database changed successfully to utf8mb4. Character set changed successfully to utf8mb4 for all tables. REPAIR TABLE and OPTIMIZE TABLE successfully for all tables. Step 8 of 22: Check database charset ... The setting character_set_client is: utf8mb4. The setting character_set_database is: utf8mb4. Warning: There were non-system tables found which do not have 'utf8mb4' as charset: 'charset', 'pop3_account', 'ticket_link'. Step 9 of 22: Rebuild configuration ... Step 10 of 22: Migrate DBCRUD UUID columns ... Activity: Column dbcrud_uuid in table activity... Column already exists Calendar::Plugin: Column dbcrud_uuid in table calendar_appointment_plugin... Column already exists OAuth2Token: Column dbcrud_uuid in table oauth2_token... Column already exists OAuth2TokenConfig: Column dbcrud_uuid in table oauth2_token_config... Column already exists Step 11 of 22: Migrate notification events ... Step 12 of 22: Integrate Znuny-MarkTicketSeenUnseen ... Step 13 of 22: Migrate groups ... Step 14 of 22: Migrate SysConfig settings ... Step 15 of 22: Cleanup orphaned mentions ... Step 16 of 22: Uninstall merged packages ... Step 17 of 22: Initialize default cron jobs ... Step 18 of 22: Clean up the cache ... Step 19 of 22: Rebuild configuration another time ... If you see warnings about 'Subroutine Load redefined', that's fine, no need to worry! Step 20 of 22: Deploy ACLs ... Step 21 of 22: Deploy processes ... Step 22 of 22: Check invalid settings ... Migration completed! # systemctl start httpd # systemctl start postfix # su -c 'bin/Cron.sh start' - znuny (using /opt/znuny) done # su -c 'bin/znuny.Daemon.pl status' - znuny Manage the Znuny daemon process. Daemon not running # su -c 'bin/znuny.Daemon.pl status' - znuny Manage the Znuny daemon process. Daemon running # cat /opt/znuny/RELEASE PRODUCT = Znuny VERSION = 7.1.7 BUILDDATE = Wed Apr 30 13:38:14 CEST 2025 BUILDHOST = ci-runner-03.internal.znuny.com COMMIT_ID = 52e0e016127113b42ef4cb91d71b3eae8b1ba4b0 # su - znuny Last login: Wed Jun 18 10:56:35 PDT 2025 on pts/0 [znuny@znuny ~]$ bin/znuny.Console.pl Admin::Package::Install https://addons.znuny.com/public/:Znuny-ExtraSkins Installing package... Notice: Install /opt/znuny/Kernel/Config/Files/XML/Znuny-ExtraSkins.xml (660)! Notice: Install /opt/znuny/var/httpd/htdocs/skins/Agent/slim/css/Core.Components.css (660)! Notice: Install /opt/znuny/var/httpd/htdocs/skins/Agent/slim/css/Core.Default.css (660)! Notice: Install /opt/znuny/var/httpd/htdocs/skins/Agent/slim/css/Core.Form.css (660)! Notice: Install /opt/znuny/var/httpd/htdocs/skins/Agent/slim/css/Core.InputFields.css (660)! Notice: Install /opt/znuny/var/httpd/htdocs/skins/Agent/slim/css/Core.Overview.css (660)! Notice: Install /opt/znuny/var/httpd/htdocs/skins/Agent/slim/css/Core.OverviewControl.css (660)! Notice: Install /opt/znuny/var/httpd/htdocs/skins/Agent/slim/css/Core.PageLayout.css (660)! Notice: Install /opt/znuny/var/httpd/htdocs/skins/Agent/slim/css/Core.TicketDetail.css (660)! Notice: Install /opt/znuny/var/httpd/htdocs/skins/Agent/slim/css/Core.Vars.css (660)! Notice: Install /opt/znuny/var/httpd/htdocs/skins/Agent/slim/css/Core.Widget.css (660)! Notice: Create Directory /opt/znuny/var/httpd/htdocs/skins/Agent/slim-dark! Notice: Create Directory /opt/znuny/var/httpd/htdocs/skins/Agent/slim-dark/css! Notice: Install /opt/znuny/var/httpd/htdocs/skins/Agent/slim-dark/css/Core.Agent.Admin.SupportDataCollector.css (660)! Notice: Install /opt/znuny/var/httpd/htdocs/skins/Agent/slim-dark/css/Core.Widget.css (660)! Notice: Install /opt/znuny/var/httpd/htdocs/skins/Agent/slim-dark/css/Core.Components.css (660)! Notice: Install /opt/znuny/var/httpd/htdocs/skins/Agent/slim-dark/css/Core.PageLayout.css (660)! Notice: Install /opt/znuny/var/httpd/htdocs/skins/Agent/slim-dark/css/Core.RichTextEditor.ContentsCss.css (660)! Notice: Install /opt/znuny/var/httpd/htdocs/skins/Agent/slim-dark/css/Core.Form.css (660)! Notice: Install /opt/znuny/var/httpd/htdocs/skins/Agent/slim-dark/css/Core.OverviewControl.css (660)! Notice: Install /opt/znuny/var/httpd/htdocs/skins/Agent/slim-dark/css/Core.InputFields.css (660)! Notice: Install /opt/znuny/var/httpd/htdocs/skins/Agent/slim-dark/css/Core.Default.css (660)! Notice: Install /opt/znuny/var/httpd/htdocs/skins/Agent/slim-dark/css/Core.Overview.css (660)! Notice: Install /opt/znuny/var/httpd/htdocs/skins/Agent/slim-dark/css/Core.Vars.css (660)! Notice: Install /opt/znuny/var/httpd/htdocs/skins/Agent/slim-dark/css/Core.TicketDetail.css (660)! Done. ===================================================================================================== # shutdown -r 23:24 "Maintenance reboot at 23:24pm 2025-06-26" USEC=1751005440000000 WARN_WALL=1 MODE=reboot UID=0 TTY=pts/0 WALL_MESSAGE=Maintenance reboot at 23:24pm 2025-06-26 date -d @USEC ===================================================================================================== 25-07-04 # dnf install yum-utils Installed: yum-utils-4.3.0-20.el9.noarch # needs-restarting -r Updating Subscription Management repositories. Core libraries or services have been updated since boot-up: * glibc * kernel Reboot is required to fully utilize these updates. More information: https://access.redhat.com/solutions/27943 ===================================================================================================== # shutdown -r 23:24 "Maintenance reboot at 23:24pm 2025-07-04" USEC=1751696640000000 WARN_WALL=1 MODE=reboot UID=0 TTY=pts/0 WALL_MESSAGE=Maintenance reboot at 23:24pm 2025-07-04 date -d @USEC ===================================================================================================== 25-07-04 comparing installed kernels with running one: # #!/bin/bash # LAST_KERNEL=$(rpm -q --last kernel | perl -pe 's/^kernel-(\S+).*/$1/' | head -1) # CURRENT_KERNEL=$(uname -r) # test $LAST_KERNEL = $CURRENT_KERNEL || echo REBOOT A command to get a count of the number of old files still in use: #lsof | grep "(path inode=.*)" | wc -l Use this instead to see which files are actually in use: #lsof | grep "(path inode=.*)" ===================================================================================================== # shutdown -r 23:24 "Maintenance reboot at 23:24pm 2025-07-15" USEC=1752647040000000 WARN_WALL=1 MODE=reboot UID=0 TTY=pts/0 WALL_MESSAGE=Maintenance reboot at 23:24pm 2025-07-15 date -d @USEC ===================================================================================================== # shutdown -r 23:24 "Maintenance reboot at 23:24pm 2025-07-29" USEC=1753856640000000 WARN_WALL=1 MODE=reboot UID=0 TTY=pts/0 WALL_MESSAGE=Maintenance reboot at 23:24pm 2025-07-29 date -d @USEC ===================================================================================================== 25-07-30 # wget https://www.cfg2html.com/cfg2html-7.2.3.2.gc456634-1.git202506231632.noarch.rpm # dnf install ./cfg2html-7.2.3.2.gc456634-1.git202506231632.noarch.rpm Installed: cfg2html-7.2.3.2.gc456634-1.git202506231632.noarch # rpm -ql cfg2html /etc/cfg2html /etc/cfg2html/files /etc/cfg2html/plugins /etc/cfg2html/systeminfo /etc/cron.d/cfg2html /usr/sbin/cfg2html /usr/share/cfg2html /usr/share/cfg2html/cfg2html-linux.sh /usr/share/cfg2html/etc /usr/share/cfg2html/etc/default.conf /usr/share/cfg2html/etc/local.conf /usr/share/cfg2html/lib /usr/share/cfg2html/lib/README_FunctionsList.txt /usr/share/cfg2html/lib/global-functions.sh /usr/share/cfg2html/lib/help-functions.sh /usr/share/cfg2html/lib/html-functions.sh /usr/share/cfg2html/lib/input-output-functions.sh /usr/share/cfg2html/lib/linux-functions.sh /usr/share/cfg2html/lib/shell-functions.sh /usr/share/cfg2html/plugins /usr/share/doc/packages/cfg2html /usr/share/doc/packages/cfg2html/AUTHORS /usr/share/doc/packages/cfg2html/COPYING /usr/share/doc/packages/cfg2html/README /usr/share/doc/packages/cfg2html/cfg2html.txt /usr/share/man/man8/cfg2html.8.gz /var/log/cfg2html # ll /etc/cron.d/* -rw-r--r--. 1 root root 128 Dec 11 2024 /etc/cron.d/0hourly -rw-r--r-- 1 root root 128 Jun 24 00:59 /etc/cron.d/cfg2html [root@znuny-EduCld-RH9 src] 09:05:05 # cat /etc/cron.d/cfg2html # Please uncomment (remove #) the line below to make it active #36 3 * * 4 root /usr/sbin/cfg2html -2\%Y\%m\%d > /dev/null 2>&1 # vim /etc/cron.d/cfg2html # cat /etc/cron.d/cfg2html # Please uncomment (remove #) the line below to make it active # # For details see man 4 crontabs # Example of job definition: # .---------------- minute (0 - 59) # | .------------- hour (0 - 23) # | | .---------- day of month (1 - 31) # | | | .------- month (1 - 12) OR jan,feb,mar,apr ... # | | | | .---- day of week (0 - 6) (Sunday=0 or 7) OR sun,mon,tue,wed,thu,fri,sat # | | | | | # * * * * * user-name command to be executed # # run cronjob on the First Sunday Every Month #16 4 * * 0 [ $(date +\%d) -le 07 ] && root /usr/sbin/cfg2html -2\%Y\%m\%d > /dev/null 2>&1 36 3 * * 0 [ $(date +\%d) -le 07 ] && root /usr/sbin/cfg2html -2\%Y\%m\%d > /dev/null 2>&1 ====================================================================================================== 25-08-07 # Install and configure shibboleth SP dnf -y install chrony shibboleth systemctl enable --now chronyd shibd ===================================================================================================== # shutdown -r 23:24 "Maintenance reboot at 23:24pm 2025-08-11" USEC=1754979840000000 WARN_WALL=1 MODE=reboot UID=0 TTY=pts/0 WALL_MESSAGE=Maintenance reboot at 23:24pm 2025-08-11 date -d @USEC ===================================================================================================== # shutdown -r 23:24 "Maintenance reboot at 23:24pm 2025-08-27" USEC=1756362240000000 WARN_WALL=1 MODE=reboot UID=0 TTY=pts/0 WALL_MESSAGE=Maintenance reboot at 23:24pm 2025-08-27 date -d @USEC ===================================================================================================== # shutdown -r 23:24 "Maintenance reboot at 23:24pm 2025-09-15" USEC=1758003840000000 WARN_WALL=1 MODE=reboot UID=0 TTY=pts/0 WALL_MESSAGE=Maintenance reboot at 23:24pm 2025-09-15 date -d @USEC ===================================================================================================== # shutdown -r 23:24 "Maintenance reboot at 23:24pm 2025-10-14" USEC=1760509440000000 WARN_WALL=1 MODE=reboot UID=0 WALL_MESSAGE=Maintenance reboot at 23:24pm 2025-10-14 date -d @USEC ===================================================================================================== # shutdown -r 23:24 "Maintenance reboot at 23:24pm 2025-10-24" USEC=1761373440000000 WARN_WALL=1 MODE=reboot UID=0 WALL_MESSAGE=Maintenance reboot at 23:24pm 2025-10-24 date -d @USEC