What does the "Mariabackup: garbage block" error mean? - mariadb

I'm attempting to use mariabackup to do a streaming backup of a remote mariadb instance (production database under load) to the local machine, using the command:
ssh root#dbserver 'mariabackup --defaults-file=/etc/my.cnf \
--socket=/db/mysql/mysql.sock --user=root --backup --parallel=4 \
--stream=xbstream --tmpdir=/tmp/mysql-backup-tmp' | mbstream -x
However, during the process, the following error message appears:
180722 03:17:35 >> log scanned up to (178256886852267)
180722 03:17:36 >> log scanned up to (178256886852796)
180722 03:17:37 >> log scanned up to (178256886857155)
mariabackup: garbage block: 178256886865408,12
180722 03:17:38 >> log scanned up to (178256886865408)
180722 03:17:39 >> log scanned up to (178256886869872)
180722 03:17:40 >> log scanned up to (178256886893932)
Is this "garbage block" error a critical problem that affects data integrity, or can it be safely ignored?
I notice about 5 of these errors scroll by during a backup of a database of approx 350GB in size.
It is encouraging that the process ends with a "completed OK!" message:
180722 04:28:01 Finished backing up non-InnoDB tables and files
180722 04:28:01 [01] Streaming aria_log.00000001 to <STDOUT>
180722 04:28:01 [01] ...done
180722 04:28:01 [01] Streaming aria_log_control to <STDOUT>
180722 04:28:01 [01] ...done
180722 04:28:01 [00] Streaming xtrabackup_binlog_info
180722 04:28:01 [00] ...done
180722 04:28:01 Executing FLUSH NO_WRITE_TO_BINLOG ENGINE LOGS...
mariabackup: The latest check point (for incremental): '178257265448382'
180722 04:28:01 >> log scanned up to (178257268268307)
mariabackup: Stopping log copying thread
180722 04:28:01 >> log scanned up to (178257268268307)
180722 04:28:01 Executing UNLOCK TABLES
180722 04:28:01 All tables unlocked
180722 04:28:01 [00] Streaming ib_buffer_pool to <STDOUT>
180722 04:28:01 [00] ...done
180722 04:28:01 Backup created in directory '/root/xtrabackup_backupfiles/'
MySQL binlog position: filename 'mysql-bin.006908', position '871204716', GTID of the last change '0-10-334787449'
180722 04:28:01 [00] Streaming backup-my.cnf
180722 04:28:01 [00] ...done
180722 04:28:01 [00] Streaming xtrabackup_info
180722 04:28:01 [00] ...done
mariabackup: Redo log (from LSN 178256909716559 to 178257268268307) was copied.
180722 04:28:01 completed OK!
I'm using the latest mariadb 10.3.8 and mariabackup 10.3.8 packages on Centos 7 (MariaDB server 10.3.8-MariaDB Linux (x86_64))

Related

Unable to install symfony/serializer in Symfony 4.4

composer require symfony/serializer
returns:
Executing script cache:clear [KO]
[KO]
Script cache:clear returned with error code 1
!!
!! In Definition.php line 288:
!!
!! Cannot replace arguments if none have been configured yet.
!!
!!
!!
Script #auto-scripts was called via post-update-cmd
Installation failed, reverting ./composer.json and ./composer.lock to their original content.
Has anyone ever seen this error? I've been debugging for hours, no result. The project is very identical to the Symfony 4.4 boilerplate project and the services seem to be fine. I'm currently debugging since hours, as i heavily depend on the rest bundles and serializers, to get the project up and working.
Thank you!
EDIT: services.yml, i checked with the boilerplate example from symfony, and cant find any differences in config files.
# This file is the entry point to configure your own services.
# Files in the packages/ subdirectory configure your dependencies.
# Put parameters here that don't need to change on each machine where the app is deployed
# https://symfony.com/doc/current/best_practices/configuration.html#application-related-configuration
parameters:
services:
# default configuration for services in *this* file
_defaults:
autowire: true # Automatically injects dependencies in your services.
autoconfigure: true # Automatically registers your services as commands, event subscribers, etc.
# makes classes in src/ available to be used as services
# this creates a service per class whose id is the fully-qualified class name
App\:
resource: '../src/'
exclude:
- '../src/DependencyInjection/'
- '../src/Entity/'
- '../src/Kernel.php'
- '../src/Tests/'
# controllers are imported separately to make sure services can be injected
# as action arguments even if you don't extend any base controller class
App\Controller\:
resource: '../src/Controller/'
tags: ['controller.service_arguments']
# add more service definitions when explicit configuration is needed
# please note that last definitions always *replace* previous ones
EDIT: Here is the snippet from -vvv, interestingly it occurs too if i try serializer-pack, until the composer file is cleaned, no work can be done.
Running 2.1.9 (2021-10-05 09:47:38) with PHP 7.4.25 on Darwin / 21.4.0
Reading ./composer.json (/Users/christofjori/Desktop/Projects/bon-api/composer.json)
Loading config file /Users/christofjori/.composer/auth.json
Loading config file ./composer.json (/Users/christofjori/Desktop/Projects/bon-api/composer.json)
Checked CA file /opt/homebrew/etc/ca-certificates/cert.pem: valid
Executing command (/Users/christofjori/Desktop/Projects/bon-api): git branch -a --no-color --no-abbrev -v
Executing command (/Users/christofjori/Desktop/Projects/bon-api): git rev-list master..development
Executing command (/Users/christofjori/Desktop/Projects/bon-api): git rev-list remotes/origin/master..development
Executing command (/Users/christofjori/Desktop/Projects/bon-api): git rev-list remotes/origin/4.4_migration..development
Failed to initialize global composer: Composer could not find the config file: /Users/christofjori/.composer/composer.json
Reading /Users/christofjori/Desktop/Projects/bon-api/vendor/composer/installed.json
Loading plugin PackageVersions\Installer (from composer/package-versions-deprecated)
Loading plugin Symfony\Flex\Flex (from symfony/flex)
Reading /Users/christofjori/Library/Caches/composer/repo/flex/symfony-recipes-flex-main-index.json from cache
Reading /Users/christofjori/Library/Caches/composer/repo/flex/symfony-recipes-contrib-flex-main-index.json from cache
Downloading https://raw.githubusercontent.com/symfony/recipes/flex/main/index.json
Downloading https://raw.githubusercontent.com/symfony/recipes-contrib/flex/main/index.json
[304] https://raw.githubusercontent.com/symfony/recipes/flex/main/index.json
[304] https://raw.githubusercontent.com/symfony/recipes-contrib/flex/main/index.json
Executing command (/Users/christofjori/Library/Caches/composer/vcs/https---git.incert.at-libaries-core.git/): git rev-parse --git-dir
Executing command (/Users/christofjori/Library/Caches/composer/vcs/https---git.incert.at-libaries-core.git/): git remote -v
Executing command (/Users/christofjori/Library/Caches/composer/vcs/https---git.incert.at-libaries-core.git/): git remote set-url origin -- 'https://git.incert.at/libaries/core.git' && git remote update --prune origin && git remote set-url origin -- 'https://git.incert.at/libaries/core.git' && git gc --auto
Executing command (/Users/christofjori/Library/Caches/composer/vcs/https---git.incert.at-libaries-core.git/): git show-ref --tags --dereference
Executing command (/Users/christofjori/Library/Caches/composer/vcs/https---git.incert.at-libaries-core.git/): git branch --no-color --no-abbrev -v
Executing command (/Users/christofjori/Library/Caches/composer/vcs/https---git.incert.at-libaries-core.git/): git branch --no-color
Executing command (/Users/christofjori/Library/Caches/composer/vcs/https---git.incert.at-libaries-core.git/): git show 'master':'composer.json'
Executing command (/Users/christofjori/Library/Caches/composer/vcs/https---git.incert.at-libaries-core.git/): git -c log.showSignature=false log -1 --format=%at 'master'
Reading composer.json of incert/core (1.52)
Reading /Users/christofjori/Library/Caches/composer/repo/https---git.incert.at-libaries-core.git/ccb15c4498a0ddde03845dabd9de8aa0ff12365f from cache
Importing tag 1.52 (1.52.0.0)
Reading composer.json of incert/core (master)
Importing branch master (dev-master)
Reading composer.json of incert/core (master1)
Importing branch master1 (dev-master1)
Executing command (/Users/christofjori/Library/Caches/composer/vcs/https---git.incert.at-libaries-doctrine-rql/): git rev-parse --git-dir
Executing command (/Users/christofjori/Library/Caches/composer/vcs/https---git.incert.at-libaries-doctrine-rql/): git remote -v
Executing command (/Users/christofjori/Library/Caches/composer/vcs/https---git.incert.at-libaries-doctrine-rql/): git remote set-url origin -- 'https://git.incert.at/libaries/doctrine-rql' && git remote update --prune origin && git remote set-url origin -- 'https://git.incert.at/libaries/doctrine-rql' && git gc --auto
Executing command (/Users/christofjori/Library/Caches/composer/vcs/https---git.incert.at-libaries-doctrine-rql/): git show-ref --tags --dereference
Executing command (/Users/christofjori/Library/Caches/composer/vcs/https---git.incert.at-libaries-doctrine-rql/): git branch --no-color --no-abbrev -v
Executing command (/Users/christofjori/Library/Caches/composer/vcs/https---git.incert.at-libaries-doctrine-rql/): git branch --no-color
Executing command (/Users/christofjori/Library/Caches/composer/vcs/https---git.incert.at-libaries-doctrine-rql/): git show 'master':'composer.json'
Executing command (/Users/christofjori/Library/Caches/composer/vcs/https---git.incert.at-libaries-doctrine-rql/): git -c log.showSignature=false log -1 --format=%at 'master'
Reading composer.json of incert/doctrine-rql (1.21)
Reading /Users/christofjori/Library/Caches/composer/repo/https---git.incert.at-libaries-doctrine-rql/688d4dec384efbc48f056430136ebc2a65e2ffff from cache
Importing tag 1.21 (1.21.0.0)
Reading composer.json of incert/doctrine-rql (master)
Importing branch master (dev-master)
Executing command (/Users/christofjori/Library/Caches/composer/vcs/https---git.incert.at-libaries-rql-parser54/): git rev-parse --git-dir
Executing command (/Users/christofjori/Library/Caches/composer/vcs/https---git.incert.at-libaries-rql-parser54/): git remote -v
Executing command (/Users/christofjori/Library/Caches/composer/vcs/https---git.incert.at-libaries-rql-parser54/): git remote set-url origin -- 'https://git.incert.at/libaries/rql-parser54' && git remote update --prune origin && git remote set-url origin -- 'https://git.incert.at/libaries/rql-parser54' && git gc --auto
Executing command (/Users/christofjori/Library/Caches/composer/vcs/https---git.incert.at-libaries-rql-parser54/): git show-ref --tags --dereference
Executing command (/Users/christofjori/Library/Caches/composer/vcs/https---git.incert.at-libaries-rql-parser54/): git branch --no-color --no-abbrev -v
Executing command (/Users/christofjori/Library/Caches/composer/vcs/https---git.incert.at-libaries-rql-parser54/): git branch --no-color
Executing command (/Users/christofjori/Library/Caches/composer/vcs/https---git.incert.at-libaries-rql-parser54/): git show 'master':'composer.json'
Executing command (/Users/christofjori/Library/Caches/composer/vcs/https---git.incert.at-libaries-rql-parser54/): git -c log.showSignature=false log -1 --format=%at 'master'
Reading composer.json of incert/rql-parser54 (1.0)
Reading /Users/christofjori/Library/Caches/composer/repo/https---git.incert.at-libaries-rql-parser54/785f29f1987974968e3730daba20b859bdf3e976 from cache
Importing tag 1.0 (1.0.0.0)
Reading composer.json of incert/rql-parser54 (1.01)
Reading /Users/christofjori/Library/Caches/composer/repo/https---git.incert.at-libaries-rql-parser54/401f12fde384d308f827bc63e58a110f4f63493d from cache
Importing tag 1.01 (1.01.0.0)
Reading composer.json of incert/rql-parser54 (master)
Importing branch master (dev-master)
Executing command (/Users/christofjori/Library/Caches/composer/vcs/https---git.incert.at-libaries-log-explorer-client-php/): git rev-parse --git-dir
Executing command (/Users/christofjori/Library/Caches/composer/vcs/https---git.incert.at-libaries-log-explorer-client-php/): git remote -v
Executing command (/Users/christofjori/Library/Caches/composer/vcs/https---git.incert.at-libaries-log-explorer-client-php/): git remote set-url origin -- 'https://git.incert.at/libaries/log-explorer-client-php' && git remote update --prune origin && git remote set-url origin -- 'https://git.incert.at/libaries/log-explorer-client-php' && git gc --auto
Executing command (/Users/christofjori/Library/Caches/composer/vcs/https---git.incert.at-libaries-log-explorer-client-php/): git show-ref --tags --dereference
Executing command (/Users/christofjori/Library/Caches/composer/vcs/https---git.incert.at-libaries-log-explorer-client-php/): git branch --no-color --no-abbrev -v
Executing command (/Users/christofjori/Library/Caches/composer/vcs/https---git.incert.at-libaries-log-explorer-client-php/): git branch --no-color
Executing command (/Users/christofjori/Library/Caches/composer/vcs/https---git.incert.at-libaries-log-explorer-client-php/): git show 'master':'composer.json'
Executing command (/Users/christofjori/Library/Caches/composer/vcs/https---git.incert.at-libaries-log-explorer-client-php/): git -c log.showSignature=false log -1 --format=%at 'master'
Reading composer.json of incert/log-explorer-client-php (1.0)
Reading /Users/christofjori/Library/Caches/composer/repo/https---git.incert.at-libaries-log-explorer-client-php/ca8f8385c20ccb3aeb2d042f0a20923ca6b4804d from cache
Importing tag 1.0 (1.0.0.0)
Reading composer.json of incert/log-explorer-client-php (1.01)
Reading /Users/christofjori/Library/Caches/composer/repo/https---git.incert.at-libaries-log-explorer-client-php/0e14852d472050699cddb5e70dee9f9ff67ea49c from cache
Importing tag 1.01 (1.01.0.0)
Reading composer.json of incert/log-explorer-client-php (1.02)
Reading /Users/christofjori/Library/Caches/composer/repo/https---git.incert.at-libaries-log-explorer-client-php/091d2cf864b1cf5a5970f7d49a713568eab077f0 from cache
Importing tag 1.02 (1.02.0.0)
Reading composer.json of incert/log-explorer-client-php (1.03)
Reading /Users/christofjori/Library/Caches/composer/repo/https---git.incert.at-libaries-log-explorer-client-php/be64766d9a7a4d50c6f6203c4665f585d5e61749 from cache
Importing tag 1.03 (1.03.0.0)
Reading composer.json of incert/log-explorer-client-php (1.04)
Reading /Users/christofjori/Library/Caches/composer/repo/https---git.incert.at-libaries-log-explorer-client-php/60354cae3b148201b47d4b2440c02939a6304e7a from cache
Importing tag 1.04 (1.04.0.0)
Reading composer.json of incert/log-explorer-client-php (1.041)
Reading /Users/christofjori/Library/Caches/composer/repo/https---git.incert.at-libaries-log-explorer-client-php/1296c0c5a1fe9e464fdd828c497f0ff53395789b from cache
Importing tag 1.041 (1.041.0.0)
Reading composer.json of incert/log-explorer-client-php (master)
Importing branch master (dev-master)
Downloading https://repo.packagist.org/packages.json
[200] https://repo.packagist.org/packages.json
Info from https://repo.packagist.org: #StandWithUkraine
Writing /Users/christofjori/Library/Caches/composer/repo/https---repo.packagist.org/packages.json into cache
Reading /Users/christofjori/Library/Caches/composer/repo/https---repo.packagist.org/provider-symfony~serializer.json from cache
Downloading https://repo.packagist.org/p2/symfony/serializer.json if modified
Reading /Users/christofjori/Library/Caches/composer/repo/https---repo.packagist.org/provider-symfony~serializer~dev.json from cache
Downloading https://repo.packagist.org/p2/symfony/serializer~dev.json if modified
[304] https://repo.packagist.org/p2/symfony/serializer.json
[304] https://repo.packagist.org/p2/symfony/serializer~dev.json
./composer.json has been updated
Reading ./composer.json (/Users/christofjori/Desktop/Projects/bon-api/composer.json)
Loading config file /Users/christofjori/.composer/auth.json
Loading config file ./composer.json (/Users/christofjori/Desktop/Projects/bon-api/composer.json)
Executing command (/Users/christofjori/Desktop/Projects/bon-api): git branch -a --no-color --no-abbrev -v
Executing command (/Users/christofjori/Desktop/Projects/bon-api): git rev-list master..development
Executing command (/Users/christofjori/Desktop/Projects/bon-api): git rev-list remotes/origin/master..development
Executing command (/Users/christofjori/Desktop/Projects/bon-api): git rev-list remotes/origin/4.4_migration..development
Failed to initialize global composer: Composer could not find the config file: /Users/christofjori/.composer/composer.json
Reading /Users/christofjori/Desktop/Projects/bon-api/vendor/composer/installed.json
Loading plugin PackageVersions\Installer_composer_tmp0 (from composer/package-versions-deprecated)
Loading plugin Symfony\Flex\Flex_composer_tmp1 (from symfony/flex)
Reading /Users/christofjori/Library/Caches/composer/repo/flex/symfony-recipes-flex-main-index.json from cache
Reading /Users/christofjori/Library/Caches/composer/repo/flex/symfony-recipes-contrib-flex-main-index.json from cache
Downloading https://raw.githubusercontent.com/symfony/recipes/flex/main/index.json
Downloading https://raw.githubusercontent.com/symfony/recipes-contrib/flex/main/index.json
[304] https://raw.githubusercontent.com/symfony/recipes-contrib/flex/main/index.json
[304] https://raw.githubusercontent.com/symfony/recipes/flex/main/index.json
Running composer update symfony/serializer
Reading ./composer.lock (/Users/christofjori/Desktop/Projects/bon-api/composer.lock)
> pre-update-cmd: Symfony\Flex\Flex_composer_tmp1->configureInstaller
Loading composer repositories with package information
Executing command (/Users/christofjori/Library/Caches/composer/vcs/https---git.incert.at-libaries-core.git/): git rev-parse --git-dir
Executing command (/Users/christofjori/Library/Caches/composer/vcs/https---git.incert.at-libaries-core.git/): git remote -v
Executing command (/Users/christofjori/Library/Caches/composer/vcs/https---git.incert.at-libaries-core.git/): git remote set-url origin -- 'https://git.incert.at/libaries/core.git' && git remote update --prune origin && git remote set-url origin -- 'https://git.incert.at/libaries/core.git' && git gc --auto
Executing command (/Users/christofjori/Library/Caches/composer/vcs/https---git.incert.at-libaries-core.git/): git show-ref --tags --dereference
Executing command (/Users/christofjori/Library/Caches/composer/vcs/https---git.incert.at-libaries-core.git/): git branch --no-color --no-abbrev -v
Executing command (/Users/christofjori/Library/Caches/composer/vcs/https---git.incert.at-libaries-core.git/): git branch --no-color
Executing command (/Users/christofjori/Library/Caches/composer/vcs/https---git.incert.at-libaries-core.git/): git show 'master':'composer.json'
Executing command (/Users/christofjori/Library/Caches/composer/vcs/https---git.incert.at-libaries-core.git/): git -c log.showSignature=false log -1 --format=%at 'master'
Reading composer.json of incert/core (1.52)
Reading /Users/christofjori/Library/Caches/composer/repo/https---git.incert.at-libaries-core.git/ccb15c4498a0ddde03845dabd9de8aa0ff12365f from cache
Importing tag 1.52 (1.52.0.0)
Reading composer.json of incert/core (master)
Importing branch master (dev-master)
Reading composer.json of incert/core (master1)
Importing branch master1 (dev-master1)
Executing command (/Users/christofjori/Library/Caches/composer/vcs/https---git.incert.at-libaries-doctrine-rql/): git rev-parse --git-dir
Executing command (/Users/christofjori/Library/Caches/composer/vcs/https---git.incert.at-libaries-doctrine-rql/): git remote -v
Executing command (/Users/christofjori/Library/Caches/composer/vcs/https---git.incert.at-libaries-doctrine-rql/): git remote set-url origin -- 'https://git.incert.at/libaries/doctrine-rql' && git remote update --prune origin && git remote set-url origin -- 'https://git.incert.at/libaries/doctrine-rql' && git gc --auto
Executing command (/Users/christofjori/Library/Caches/composer/vcs/https---git.incert.at-libaries-doctrine-rql/): git show-ref --tags --dereference
Executing command (/Users/christofjori/Library/Caches/composer/vcs/https---git.incert.at-libaries-doctrine-rql/): git branch --no-color --no-abbrev -v
Executing command (/Users/christofjori/Library/Caches/composer/vcs/https---git.incert.at-libaries-doctrine-rql/): git branch --no-color
Executing command (/Users/christofjori/Library/Caches/composer/vcs/https---git.incert.at-libaries-doctrine-rql/): git show 'master':'composer.json'
Executing command (/Users/christofjori/Library/Caches/composer/vcs/https---git.incert.at-libaries-doctrine-rql/): git -c log.showSignature=false log -1 --format=%at 'master'
Reading composer.json of incert/doctrine-rql (1.21)
Reading /Users/christofjori/Library/Caches/composer/repo/https---git.incert.at-libaries-doctrine-rql/688d4dec384efbc48f056430136ebc2a65e2ffff from cache
Importing tag 1.21 (1.21.0.0)
Reading composer.json of incert/doctrine-rql (master)
Importing branch master (dev-master)
Executing command (/Users/christofjori/Library/Caches/composer/vcs/https---git.incert.at-libaries-rql-parser54/): git rev-parse --git-dir
Executing command (/Users/christofjori/Library/Caches/composer/vcs/https---git.incert.at-libaries-rql-parser54/): git remote -v
Executing command (/Users/christofjori/Library/Caches/composer/vcs/https---git.incert.at-libaries-rql-parser54/): git remote set-url origin -- 'https://git.incert.at/libaries/rql-parser54' && git remote update --prune origin && git remote set-url origin -- 'https://git.incert.at/libaries/rql-parser54' && git gc --auto
Executing command (/Users/christofjori/Library/Caches/composer/vcs/https---git.incert.at-libaries-rql-parser54/): git show-ref --tags --dereference
Executing command (/Users/christofjori/Library/Caches/composer/vcs/https---git.incert.at-libaries-rql-parser54/): git branch --no-color --no-abbrev -v
Executing command (/Users/christofjori/Library/Caches/composer/vcs/https---git.incert.at-libaries-rql-parser54/): git branch --no-color
Executing command (/Users/christofjori/Library/Caches/composer/vcs/https---git.incert.at-libaries-rql-parser54/): git show 'master':'composer.json'
Executing command (/Users/christofjori/Library/Caches/composer/vcs/https---git.incert.at-libaries-rql-parser54/): git -c log.showSignature=false log -1 --format=%at 'master'
Reading composer.json of incert/rql-parser54 (1.0)
Reading /Users/christofjori/Library/Caches/composer/repo/https---git.incert.at-libaries-rql-parser54/785f29f1987974968e3730daba20b859bdf3e976 from cache
Importing tag 1.0 (1.0.0.0)
Reading composer.json of incert/rql-parser54 (1.01)
Reading /Users/christofjori/Library/Caches/composer/repo/https---git.incert.at-libaries-rql-parser54/401f12fde384d308f827bc63e58a110f4f63493d from cache
Importing tag 1.01 (1.01.0.0)
Reading composer.json of incert/rql-parser54 (master)
Importing branch master (dev-master)
Executing command (/Users/christofjori/Library/Caches/composer/vcs/https---git.incert.at-libaries-log-explorer-client-php/): git rev-parse --git-dir
Executing command (/Users/christofjori/Library/Caches/composer/vcs/https---git.incert.at-libaries-log-explorer-client-php/): git remote -v
Executing command (/Users/christofjori/Library/Caches/composer/vcs/https---git.incert.at-libaries-log-explorer-client-php/): git remote set-url origin -- 'https://git.incert.at/libaries/log-explorer-client-php' && git remote update --prune origin && git remote set-url origin -- 'https://git.incert.at/libaries/log-explorer-client-php' && git gc --auto
Executing command (/Users/christofjori/Library/Caches/composer/vcs/https---git.incert.at-libaries-log-explorer-client-php/): git show-ref --tags --dereference
Executing command (/Users/christofjori/Library/Caches/composer/vcs/https---git.incert.at-libaries-log-explorer-client-php/): git branch --no-color --no-abbrev -v
Executing command (/Users/christofjori/Library/Caches/composer/vcs/https---git.incert.at-libaries-log-explorer-client-php/): git branch --no-color
Executing command (/Users/christofjori/Library/Caches/composer/vcs/https---git.incert.at-libaries-log-explorer-client-php/): git show 'master':'composer.json'
Executing command (/Users/christofjori/Library/Caches/composer/vcs/https---git.incert.at-libaries-log-explorer-client-php/): git -c log.showSignature=false log -1 --format=%at 'master'
Reading composer.json of incert/log-explorer-client-php (1.041)
Reading /Users/christofjori/Library/Caches/composer/repo/https---git.incert.at-libaries-log-explorer-client-php/1296c0c5a1fe9e464fdd828c497f0ff53395789b from cache
Importing tag 1.041 (1.041.0.0)
Reading composer.json of incert/log-explorer-client-php (master)
Importing branch master (dev-master)
Downloading https://repo.packagist.org/packages.json
[200] https://repo.packagist.org/packages.json
Info from https://repo.packagist.org: #StandWithUkraine
Writing /Users/christofjori/Library/Caches/composer/repo/https---repo.packagist.org/packages.json into cache
Reading /Users/christofjori/Library/Caches/composer/repo/https---repo.packagist.org/provider-symfony~serializer.json from cache
Downloading https://repo.packagist.org/p2/symfony/serializer.json if modified
[304] https://repo.packagist.org/p2/symfony/serializer.json
> pre-pool-create: Symfony\Flex\Flex_composer_tmp1->truncatePackages
Updating dependencies
Generating rules
Resolving dependencies through SAT
Looking at all rules.
Dependency resolution completed in 0.001 seconds
Analyzed 260 packages to resolve dependencies
Analyzed 656 rules to resolve dependencies
Generating rules
Resolving dependencies through SAT
Looking at all rules.
Dependency resolution completed in 0.000 seconds
Lock file operations: 1 install, 0 updates, 0 removals
Installs: symfony/serializer:v4.4.41
- Locking symfony/serializer (v4.4.41)
Writing lock file
Installing dependencies from lock file (including require-dev)
Reading ./composer.lock (/Users/christofjori/Desktop/Projects/bon-api/composer.lock)
> pre-operations-exec: Symfony\Flex\Flex_composer_tmp1->recordOperations
Package operations: 1 install, 0 updates, 0 removals
Installs: symfony/serializer:v4.4.41
Reading /Users/christofjori/Library/Caches/composer/files/symfony/serializer/6fa9ff63c92acff28fbdaf7744e7bb64fefcbebe.zip from cache
- Loading symfony/serializer (v4.4.41) from cache
- Installing symfony/serializer (v4.4.41): Extracting archive
Executing async command (CWD): '/usr/bin/unzip' -qq '/Users/christofjori/Desktop/Projects/bon-api/vendor/composer/tmp-a61c55d8c539df185725083347debffb' -d '/Users/christofjori/Desktop/Projects/bon-api/vendor/composer/3247dc55'
Executing async command (CWD): rm -rf '/Users/christofjori/Desktop/Projects/bon-api/vendor/composer/3247dc55'
> post-package-install: Symfony\Flex\Flex_composer_tmp1->recordFlexInstall
Downloading https://packagist.org/downloads/
[201] https://packagist.org/downloads/
Package doctrine/doctrine-cache-bundle is abandoned, you should avoid using it. No replacement was suggested.
Package doctrine/reflection is abandoned, you should avoid using it. Use roave/better-reflection instead.
Package symfony/inflector is abandoned, you should avoid using it. Use EnglishInflector from the String component instead.
Generating autoload files
> post-autoload-dump: PackageVersions\Installer_composer_tmp0->dumpVersionsClass
composer/package-versions-deprecated: Generating version class...
composer/package-versions-deprecated: ...done generating version class
99 packages you are using are looking for funding.
Use the `composer fund` command to find out more!
> post-update-cmd: Symfony\Flex\Flex_composer_tmp1->update
Run composer recipes at any time to see the status of your Symfony recipes.
> post-update-cmd: #auto-scripts
> auto-scripts: Symfony\Flex\Flex_composer_tmp1->executeAutoScripts
Executing script cache:clear
Executed script cache:clear [KO]
[KO]
Script cache:clear returned with error code 1
!!
!! In Definition.php line 288:
!!
!! Cannot replace arguments if none have been configured yet.
!!
!!
!!
Script #auto-scripts was called via post-update-cmd
Installation failed, reverting ./composer.json and ./composer.lock to their original content.

WriteDump failed hresult: 0x00000000

I'm on raspian, and issue
dotnet-dump collect -p (processID Here)
And I'm getting
writing full to /home/UserID/core_date_time
WriteDump failed - HRESULT: 0X00000000
I've checked, and the process has -X permissions.
If you get the SDK installed on the device, createdump can be used to dump single file apps.
curl -fsSL https://dotnet.microsoft.com/download/dotnet/scripts/v1/dotnet-install.sh | bash -s -- --no-path --install-dir ~/dotnet-sdk --channel 6.0
~/dotnet-sdk/dotnet tool install --tool-path ~/dotnet-sdk/tools dotnet-dump
DOTNET_ROOT=~/dotnet-sdk ~/dotnet-sdk/tools/dotnet-dump ps
# use the PID of your process
DOTNET_ROOT=~/dotnet-sdk ~/dotnet-sdk/shared/Microsoft.NETCore.App/6.0.4/createdump <pid>
# load the dump into dotnet-dump
DOTNET_ROOT=~/dotnet-sdk ~/dotnet-sdk/tools/dotnet-dump analyze /tmp/coredump.95680

How to transfer file Fast over the internet?

I need to transfer files over the internet whith a backup script that transfer my oracle database archive logs on-premisse to my other oracle server (an azure vm).
Today this script runs:
'''rsync -avz archivelogs root#oracledb2:/dst/bkp/'''
I enabled simpler encryptions in my ssh to make it lighter but I don't think it's safe.
Does anyone have any tips for me to be able to transfer safely over the network and with speed.
'''rsync -aHAXxv --numeric-ids --delete --progress -e "ssh -T -c arcfour -o Compression=no -x" [source_dir] [dest_host:/dest_dir]'''
this is fast but arfour cipher isn't safe ... soo ... what should i do ?

Format USB with bad partition table (read-only fs)

I have a USB drive that my Ubuntu machine can't format. I think the problem originated when I was using Rufus or UNetBootin inside a Windows VM and got a blue screen. There's no important data on there, I just want to be able to use it. It's probably not worth the trouble but I want to understand the problem in case it happens again. I tried all sorts of tools but none of them seems to be low-level enough to rewrite the partition table.
Here is the output of some of the tools I tried. As you can note, there is no sdb1 or any found partition because the table is unreadable. I can use a Windows host too if the only solution is by using some ".exe" but I'd rather use UNIX terminal tools if possible.
ls -l /dev/ | grep sdb
brw-rw---- 1 root disk 8, 16 Mar 26 10:57 sdb
sudo hdparm -r0 /dev/sdb
/dev/sdb:
setting readonly to 0 (off)
readonly = 0 (off)
sudo partprobe -s /dev/sdb
Warning: Unable to open /dev/sdb read-write (Read-only file system). /dev/sdb has been opened read-only.
Warning: Unable to open /dev/sdb read-write (Read-only file system). /dev/sdb has been opened read-only.
Warning: Unable to open /dev/sdb read-write (Read-only file system). /dev/sdb has been opened read-only.
/dev/sdb: msdos partitions
sudo gparted /dev/sdb
libparted : 3.2
Unable to open /dev/sdb read-write (Read-only file system). /dev/sdb has been opened read-only.
Unable to open /dev/sdb read-write (Read-only file system). /dev/sdb has been opened read-only.
Unable to open /dev/sdb read-write (Read-only file system). /dev/sdb has been opened read-only.
Unable to open /dev/sdb read-write (Read-only file system). /dev/sdb has been opened read-only.
/dev/sdb: unrecognised disk label
sudo fdisk -l /dev/sdb
Disk /dev/sdb: 15 GiB, 16106127360 bytes, 31457280 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
sudo partx -l /dev/sdb
partx: /dev/sdb: failed to read partition table
sudo partx -d /dev/sdb
partx: specified range <1:0> does not make sense
sudo fsck.fat -n /dev/sdb
fsck.fat 3.0.28 (2015-05-16)
Logical sector size (65535 bytes) is not a multiple of the physical sector size.
sudo blkid -pi /dev/sdb
DEVNAME=/dev/sdb
MINIMUM_IO_SIZE=512
PHYSICAL_SECTOR_SIZE=512
LOGICAL_SECTOR_SIZE=512
sudo wipefs -a /dev/sdb
wipefs: error: /dev/sdb: probing initialization failed: Read-only file system
Apparently the Startup Disk Creator on Ubuntu doesn't care what's on the drive at all. I suppose it always creates its own partition table. So I used it with an Ubuntu image, assuming it would fail and was greatly surprised. I then used GParted to have an empty FAT32 partition and now I can use my drive without any problem (except maybe with future formats). Oddly, GParted first thought my drive was 60GB and successfully created a partition table but failed creating a partition. After the error message, the size of the drive rightly showed 16GB so I created the partition successfully.
Faced same issue, unmount then format worked for me,
here assumes that /dev/sdb1 is where the my device is located at.
sudo umount /dev/sdb1
sudo mkdosfs -F 32 -I /dev/sdb1

setting up rsync on a centOS on gcloud - error #ERROR: chdir failed

I'm a complete noob in all gcloud
I was trying to setup an rsync module to have a sharecenter box do backup on a set schedule, which I was able to do on o centOS with digital ocean but somehow I can't get the same thing setup on a centOS vm instance in gcloud
here are my settings and all info I was able to gather about the issue I'm having
==================
my /etc/rsyncd.conf
motd file = /etc/rsyncd.motd
log file = /var/log/rsyncd.log
pid file = /var/run/rsyncd.pid
lock file = /var/run/rsync.lock
[moodleic]
path = /home/FranciscoCortes/backups
comment = backup module for moodle backup files folder defined in path
read only = no
list = yes
uid = nobody
gid = nobody
auth users = FranciscoCortes
secrets file = /etc/rsyncd.secrets
use chroot = no
hosts allow = *
==================
the path actualy exist
[FranciscoCortes#centos6 backups] cd /home/FranciscoCortes/backups/
[FranciscoCortes#centos6 backups]
================
the module exist
[FranciscoCortes#centos6 ~]$ rsync -va rsync://FranciscoCortes#localhost/
moodleic backup module for moodle backup files folder defined in path
================
the permissions on the folder seem ok
[FranciscoCortes#centos6 ~]$ ls -l
total 8
drwxrwxr-x. 2 FranciscoCortes FranciscoCortes 4096 Jan 7 21:37 backups
================
sudo netstat -tulpn
tcp 0 0 :::873 :::* LISTEN 17096/xinetd
================
cat /etc/services | grep rsync
rsync 873/tcp # rsync
rsync 873/udp # rsync
================
but the error I get is this
[FranciscoCortes#centos6 ~]$ rsync -va rsync://FranciscoCortes#localhost/moodleic/
Password:
#ERROR: chdir failed
rsync error: error starting client-server protocol (code 5) at main.c(1503) [receiver=3.0.6]
================
the rsync error log shows this
2015/01/09 01:21:20 [16987] unable to bind any inbound sockets on port 873
2015/01/09 01:21:20 [16987] rsync error: error in socket IO (code 10) at socket.c(541) [receiver=3.0.6]
2015/01/09 01:25:37 [17118] connect from localhost (::1)
2015/01/09 01:25:48 [17118] rsync: chdir /home/FranciscoCortes/backups failed
: Permission denied (13)
================
I've tried to set the uid and gid the same as the user authorized on the secrets file which is already the owner of the folder in the path so I'm not sure why I would get the permission denied.
I'm I missing something??
Any help is appreciated.
I think it could be caused by SELinux.
I'd set it to permissive and try a test run.
You can disable it temporarily with this command setenforce 0.
Sincerely,
Paolo

Resources