Preview: agent360-install.log
Size: 14.29 KB
/var/log/agent360-install.log
[2024-11-18 06:17:17] Executing: apt-get update
Ign:1 https://repo.mongodb.org/apt/ubuntu focal/mongodb-org/4.4 InRelease
Hit:2 https://mirror.hetzner.com/ubuntu/packages jammy InRelease
Hit:3 https://ppa.launchpadcontent.net/ondrej/php/ubuntu jammy InRelease
Ign:4 http://security.ubuntu.com/ubuntu impish-security InRelease
Hit:5 https://ppa.launchpadcontent.net/ubuntudde-dev/stable/ubuntu jammy InRelease
Get:6 https://mirror.hetzner.com/ubuntu/packages jammy-updates InRelease [128 kB]
Hit:7 https://repo.mongodb.org/apt/ubuntu jammy/mongodb-org/6.0 InRelease
Err:8 http://security.ubuntu.com/ubuntu impish-security Release
404 Not Found [IP: 91.189.91.82 80]
Get:9 https://mirror.hetzner.com/ubuntu/packages jammy-backports InRelease [127 kB]
Get:10 https://mirror.hetzner.com/ubuntu/security jammy-security InRelease [129 kB]
Get:11 https://repo.mongodb.org/apt/ubuntu focal/mongodb-org/4.4 Release [3094 B]
Hit:12 https://repo.zabbix.com/zabbix-agent2-plugins/1/ubuntu jammy InRelease
Get:13 https://repo.mongodb.org/apt/ubuntu focal/mongodb-org/4.4 Release.gpg [866 B]
Hit:14 https://repo.zabbix.com/zabbix/6.0/ubuntu jammy InRelease
Err:13 https://repo.mongodb.org/apt/ubuntu focal/mongodb-org/4.4 Release.gpg
The following signatures were invalid: EXPKEYSIG 656408E390CFB1F5 MongoDB 4.4 Release Signing Key <packaging@mongodb.com>
Reading package lists...
E: The repository 'http://security.ubuntu.com/ubuntu impish-security Release' does not have a Release file.
W: https://repo.mongodb.org/apt/ubuntu/dists/focal/mongodb-org/4.4/Release.gpg: Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for details.
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: https://repo.mongodb.org/apt/ubuntu focal/mongodb-org/4.4 Release: The following signatures were invalid: EXPKEYSIG 656408E390CFB1F5 MongoDB 4.4 Release Signing Key <packaging@mongodb.com>
[2024-11-18 06:17:26] Executing: apt-get install -y gcc python3-dev python3-setuptools python3-pip
Reading package lists...
Building dependency tree...
Reading state information...
gcc is already the newest version (4:11.2.0-1ubuntu1).
gcc set to manually installed.
python3-setuptools is already the newest version (59.6.0-1.2ubuntu0.22.04.2).
python3-setuptools set to manually installed.
The following packages were automatically installed and are no longer required:
gyp libc-ares2 libfile-basedir-perl libfile-desktopentry-perl
libfile-mimeinfo-perl libgtkd-3-0 libio-stringy-perl
libipc-system-simple-perl libjs-events libjs-highlight.js libjs-inherits
libjs-is-typedarray libjs-psl libjs-source-map libjs-sprintf-js
libjs-typedarray-to-buffer libllvm11 libnet-dbus-perl libnode-dev libnode72
libphobos2-ldc-shared98 libssl-dev libtie-ixhash-perl libuv1-dev
libvte-2.91-0 libvte-2.91-common libvted-3-0 libx11-protocol-perl libxft2
libxml-parser-perl libxml-twig-perl libxml-xpathengine-perl libxv1
libxxf86dga1 node-abbrev node-ansi-regex node-ansi-styles node-ansistyles
node-are-we-there-yet node-arrify node-asap node-asynckit
node-balanced-match node-brace-expansion node-chownr node-clean-yaml-object
node-color-convert node-color-name node-commander node-core-util-is
node-decompress-response node-delayed-stream node-delegates node-depd
node-diff node-encoding node-end-of-stream node-err-code
node-escape-string-regexp node-fancy-log node-foreground-child
node-fs.realpath node-function-bind node-get-stream node-glob node-growl
node-has-flag node-has-unicode node-hosted-git-info node-iconv-lite
node-iferr node-imurmurhash node-indent-string node-inflight node-inherits
node-ini node-ip node-ip-regex node-is-buffer node-is-plain-obj
node-is-typedarray node-isarray node-isexe node-json-parse-better-errors
node-jsonparse node-kind-of node-lodash-packages node-lowercase-keys
node-lru-cache node-mimic-response node-minimatch node-minimist
node-minipass node-mute-stream node-negotiator node-npm-bundled node-once
node-osenv node-p-cancelable node-p-map node-path-is-absolute
node-process-nextick-args node-promise-inflight node-promise-retry
node-promzard node-pump node-quick-lru node-read node-readable-stream
node-resolve node-retry node-safe-buffer node-set-blocking node-signal-exit
node-slash node-slice-ansi node-source-map node-spdx-correct
node-spdx-exceptions node-spdx-expression-parse node-spdx-license-ids
node-sprintf-js node-stealthy-require node-string-decoder
node-supports-color node-text-table node-time-stamp node-tmatch
node-typedarray-to-buffer node-universalify node-util-deprecate
node-validate-npm-package-license node-webidl-conversions node-whatwg-fetch
node-wrappy node-yallist nodejs-doc tilix tilix-common x11-utils
x11-xserver-utils xdg-utils
Use 'apt autoremove' to remove them.
The following additional packages will be installed:
libexpat1-dev libjs-jquery libjs-sphinxdoc libjs-underscore libpython3-dev
libpython3-stdlib libpython3.10-dev python3 python3-minimal python3-wheel
python3.10-dev zlib1g-dev
Suggested packages:
python3-doc python3-tk python3-venv
The following NEW packages will be installed:
libexpat1-dev libjs-jquery libjs-sphinxdoc libjs-underscore libpython3-dev
libpython3.10-dev python3-dev python3-pip python3-wheel python3.10-dev
zlib1g-dev
The following packages will be upgraded:
libpython3-stdlib python3 python3-minimal
3 upgraded, 11 newly installed, 0 to remove and 107 not upgraded.
Need to get 7585 kB of archives.
After this operation, 31.6 MB of additional disk space will be used.
Get:1 https://mirror.hetzner.com/ubuntu/packages jammy-updates/main amd64 python3-minimal amd64 3.10.6-1~22.04.1 [24.3 kB]
Get:2 https://mirror.hetzner.com/ubuntu/packages jammy-updates/main amd64 python3 amd64 3.10.6-1~22.04.1 [22.8 kB]
Get:3 https://mirror.hetzner.com/ubuntu/packages jammy-updates/main amd64 libpython3-stdlib amd64 3.10.6-1~22.04.1 [6812 B]
Get:4 https://mirror.hetzner.com/ubuntu/packages jammy-updates/main amd64 libexpat1-dev amd64 2.4.7-1ubuntu0.4 [147 kB]
Get:5 https://mirror.hetzner.com/ubuntu/packages jammy/main amd64 libjs-jquery all 3.6.0+dfsg+~3.5.13-1 [321 kB]
Get:6 https://mirror.hetzner.com/ubuntu/packages jammy/main amd64 libjs-underscore all 1.13.2~dfsg-2 [118 kB]
Get:7 https://mirror.hetzner.com/ubuntu/packages jammy/main amd64 libjs-sphinxdoc all 4.3.2-1 [139 kB]
Get:8 https://mirror.hetzner.com/ubuntu/packages jammy-updates/main amd64 zlib1g-dev amd64 1:1.2.11.dfsg-2ubuntu9.2 [164 kB]
Get:9 https://mirror.hetzner.com/ubuntu/packages jammy-updates/main amd64 libpython3.10-dev amd64 3.10.12-1~22.04.6 [4764 kB]
Get:10 https://mirror.hetzner.com/ubuntu/packages jammy-updates/main amd64 libpython3-dev amd64 3.10.6-1~22.04.1 [7064 B]
Get:11 https://mirror.hetzner.com/ubuntu/packages jammy-updates/main amd64 python3.10-dev amd64 3.10.12-1~22.04.6 [508 kB]
Get:12 https://mirror.hetzner.com/ubuntu/packages jammy-updates/main amd64 python3-dev amd64 3.10.6-1~22.04.1 [26.0 kB]
Get:13 https://mirror.hetzner.com/ubuntu/packages jammy-updates/universe amd64 python3-wheel all 0.37.1-2ubuntu0.22.04.1 [32.0 kB]
Get:14 https://mirror.hetzner.com/ubuntu/packages jammy-updates/universe amd64 python3-pip all 22.0.2+dfsg-1ubuntu0.5 [1306 kB]
Fetched 7585 kB in 1s (9000 kB/s)
(Reading database ...
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 73512 files and directories currently installed.)
Preparing to unpack .../python3-minimal_3.10.6-1~22.04.1_amd64.deb ...
Unpacking python3-minimal (3.10.6-1~22.04.1) over (3.10.6-1~22.04) ...
Setting up python3-minimal (3.10.6-1~22.04.1) ...
(Reading database ...
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 73512 files and directories currently installed.)
Preparing to unpack .../00-python3_3.10.6-1~22.04.1_amd64.deb ...
running python pre-rtupdate hooks for python3.10...
Unpacking python3 (3.10.6-1~22.04.1) over (3.10.6-1~22.04) ...
Preparing to unpack .../01-libpython3-stdlib_3.10.6-1~22.04.1_amd64.deb ...
Unpacking libpython3-stdlib:amd64 (3.10.6-1~22.04.1) over (3.10.6-1~22.04) ...
Selecting previously unselected package libexpat1-dev:amd64.
Preparing to unpack .../02-libexpat1-dev_2.4.7-1ubuntu0.4_amd64.deb ...
Unpacking libexpat1-dev:amd64 (2.4.7-1ubuntu0.4) ...
Selecting previously unselected package libjs-jquery.
Preparing to unpack .../03-libjs-jquery_3.6.0+dfsg+~3.5.13-1_all.deb ...
Unpacking libjs-jquery (3.6.0+dfsg+~3.5.13-1) ...
Selecting previously unselected package libjs-underscore.
Preparing to unpack .../04-libjs-underscore_1.13.2~dfsg-2_all.deb ...
Unpacking libjs-underscore (1.13.2~dfsg-2) ...
Selecting previously unselected package libjs-sphinxdoc.
Preparing to unpack .../05-libjs-sphinxdoc_4.3.2-1_all.deb ...
Unpacking libjs-sphinxdoc (4.3.2-1) ...
Selecting previously unselected package zlib1g-dev:amd64.
Preparing to unpack .../06-zlib1g-dev_1%3a1.2.11.dfsg-2ubuntu9.2_amd64.deb ...
Unpacking zlib1g-dev:amd64 (1:1.2.11.dfsg-2ubuntu9.2) ...
Selecting previously unselected package libpython3.10-dev:amd64.
Preparing to unpack .../07-libpython3.10-dev_3.10.12-1~22.04.6_amd64.deb ...
Unpacking libpython3.10-dev:amd64 (3.10.12-1~22.04.6) ...
Selecting previously unselected package libpython3-dev:amd64.
Preparing to unpack .../08-libpython3-dev_3.10.6-1~22.04.1_amd64.deb ...
Unpacking libpython3-dev:amd64 (3.10.6-1~22.04.1) ...
Selecting previously unselected package python3.10-dev.
Preparing to unpack .../09-python3.10-dev_3.10.12-1~22.04.6_amd64.deb ...
Unpacking python3.10-dev (3.10.12-1~22.04.6) ...
Selecting previously unselected package python3-dev.
Preparing to unpack .../10-python3-dev_3.10.6-1~22.04.1_amd64.deb ...
Unpacking python3-dev (3.10.6-1~22.04.1) ...
Selecting previously unselected package python3-wheel.
Preparing to unpack .../11-python3-wheel_0.37.1-2ubuntu0.22.04.1_all.deb ...
Unpacking python3-wheel (0.37.1-2ubuntu0.22.04.1) ...
Selecting previously unselected package python3-pip.
Preparing to unpack .../12-python3-pip_22.0.2+dfsg-1ubuntu0.5_all.deb ...
Unpacking python3-pip (22.0.2+dfsg-1ubuntu0.5) ...
Setting up libexpat1-dev:amd64 (2.4.7-1ubuntu0.4) ...
Setting up zlib1g-dev:amd64 (1:1.2.11.dfsg-2ubuntu9.2) ...
Setting up libjs-jquery (3.6.0+dfsg+~3.5.13-1) ...
Setting up libpython3-stdlib:amd64 (3.10.6-1~22.04.1) ...
Setting up libjs-underscore (1.13.2~dfsg-2) ...
Setting up python3 (3.10.6-1~22.04.1) ...
running python rtupdate hooks for python3.10...
running python post-rtupdate hooks for python3.10...
Setting up python3-wheel (0.37.1-2ubuntu0.22.04.1) ...
Setting up libpython3.10-dev:amd64 (3.10.12-1~22.04.6) ...
Setting up python3-pip (22.0.2+dfsg-1ubuntu0.5) ...
Setting up libjs-sphinxdoc (4.3.2-1) ...
Setting up python3.10-dev (3.10.12-1~22.04.6) ...
Setting up libpython3-dev:amd64 (3.10.6-1~22.04.1) ...
Setting up python3-dev (3.10.6-1~22.04.1) ...
Processing triggers for man-db (2.10.2-1) ...
[2024-11-18 06:17:37] Executing: pip3 install agent360 --upgrade
Collecting agent360
Downloading agent360-1.3.0-py3-none-any.whl (67 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 67.7/67.7 KB 1.4 MB/s eta 0:00:00
Collecting configparser
Downloading configparser-7.1.0-py3-none-any.whl (17 kB)
Collecting psutil
Downloading psutil-6.1.0-cp36-abi3-manylinux_2_12_x86_64.manylinux2010_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (287 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 287.3/287.3 KB 4.6 MB/s eta 0:00:00
Requirement already satisfied: netifaces in /usr/lib/python3/dist-packages (from agent360) (0.11.0)
Requirement already satisfied: distro in /usr/lib/python3/dist-packages (from agent360) (1.7.0)
Collecting future
Downloading future-1.0.0-py3-none-any.whl (491 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 491.3/491.3 KB 25.5 MB/s eta 0:00:00
Requirement already satisfied: certifi in /usr/lib/python3/dist-packages (from agent360) (2020.6.20)
Installing collected packages: psutil, future, configparser, agent360
Successfully installed agent360-1.3.0 configparser-7.1.0 future-1.0.0 psutil-6.1.0
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
[2024-11-18 06:17:54] Executing: wget -qO /etc/agent360.ini https://monitoring.platform360.io/agent360.ini
[2024-11-18 06:17:54] Executing: hello360 673adb65d768955c9805fef1 /etc/agent360-token.ini --automon=0 --tags=
Got server_id: 673adc178486731b021cbaec
[2024-11-18 06:18:00] Executing: useradd --system --user-group --key USERGROUPS_ENAB=yes -M agent360 --shell /bin/false
[2024-11-18 06:18:00] Executing: chown agent360 /etc/agent360.ini
[2024-11-18 06:18:00] Executing: chown agent360 /etc/agent360-token.ini
[2024-11-18 06:18:00] Executing: chmod 640 /etc/agent360.ini
[2024-11-18 06:18:00] Executing: chmod 640 /etc/agent360-token.ini
[2024-11-18 06:18:00] Executing: chmod 644 /etc/systemd/system/agent360.service
[2024-11-18 06:18:00] Executing: systemctl daemon-reload
[2024-11-18 06:18:00] Executing: systemctl enable agent360
Created symlink /etc/systemd/system/multi-user.target.wants/agent360.service -> /etc/systemd/system/agent360.service.
[2024-11-18 06:18:01] Executing: systemctl start agent360
Directory Contents
Dirs: 16 × Files: 147