know-how:linux
Unterschiede
Hier werden die Unterschiede zwischen zwei Versionen angezeigt.
Beide Seiten der vorigen RevisionVorhergehende ÜberarbeitungNächste Überarbeitung | Vorhergehende Überarbeitung | ||
know-how:linux [2024/02/26 11:44] – [Notification mail nach Login via SSH] cc | know-how:linux [2024/03/20 12:44] (aktuell) – [gvm - openvas] cc | ||
---|---|---|---|
Zeile 1057: | Zeile 1057: | ||
md manage: | md manage: | ||
... | ... | ||
+ | </ | ||
+ | * Upgrade Cluster von 15 auf 16 - ohne Neuinstallation (gvmd kann nicht gestartet werden) / Vorsicht über SSH ! | ||
+ | * https:// | ||
+ | |||
+ | < | ||
+ | |||
+ | root@pentest: | ||
+ | Ver Cluster Port Status Owner Data directory | ||
+ | 15 main 5432 online postgres / | ||
+ | 16 main 5433 online postgres / | ||
+ | |||
+ | root@pentest: | ||
+ | |||
+ | root@pentest: | ||
+ | |||
+ | |||
+ | WARNING: | ||
+ | DETAIL: | ||
+ | HINT: Rebuild all objects in this database that use the default collation and run ALTER DATABASE template1 REFRESH COLLATION VERSION, or build PostgreSQL with the right library version. | ||
+ | WARNING: | ||
+ | DETAIL: | ||
+ | HINT: Rebuild all objects in this database that use the default collation and run ALTER DATABASE template1 REFRESH COLLATION VERSION, or build PostgreSQL with the right library version. | ||
+ | WARNING: | ||
+ | DETAIL: | ||
+ | HINT: Rebuild all objects in this database that use the default collation and run ALTER DATABASE template1 REFRESH COLLATION VERSION, or build PostgreSQL with the right library version. | ||
+ | Stopping old cluster... | ||
+ | Restarting old cluster with restricted connections... | ||
+ | Notice: extra pg_ctl/ | ||
+ | Creating new PostgreSQL cluster 16/main ... | ||
+ | / | ||
+ | The files belonging to this database system will be owned by user " | ||
+ | This user must also own the server process. | ||
+ | |||
+ | The database cluster will be initialized with locale " | ||
+ | The default text search configuration will be set to " | ||
+ | |||
+ | Data page checksums are disabled. | ||
+ | |||
+ | fixing permissions on existing directory / | ||
+ | creating subdirectories ... ok | ||
+ | selecting dynamic shared memory implementation ... posix | ||
+ | selecting default max_connections ... 100 | ||
+ | selecting default shared_buffers ... 128MB | ||
+ | selecting default time zone ... Europe/ | ||
+ | creating configuration files ... ok | ||
+ | running bootstrap script ... ok | ||
+ | performing post-bootstrap initialization ... ok | ||
+ | syncing data to disk ... ok | ||
+ | |||
+ | Copying old configuration files... | ||
+ | Copying old start.conf... | ||
+ | Copying old pg_ctl.conf... | ||
+ | Starting new cluster... | ||
+ | Notice: extra pg_ctl/ | ||
+ | Running init phase upgrade hook scripts ... | ||
+ | |||
+ | WARNING: | ||
+ | DETAIL: | ||
+ | HINT: Rebuild all objects in this database that use the default collation and run ALTER DATABASE template1 REFRESH COLLATION VERSION, or build PostgreSQL with the right library version. | ||
+ | Roles, databases, schemas, ACLs... | ||
+ | WARNING: | ||
+ | DETAIL: | ||
+ | HINT: Rebuild all objects in this database that use the default collation and run ALTER DATABASE postgres REFRESH COLLATION VERSION, or build PostgreSQL with the right library version. | ||
+ | WARNING: | ||
+ | DETAIL: | ||
+ | HINT: Rebuild all objects in this database that use the default collation and run ALTER DATABASE template1 REFRESH COLLATION VERSION, or build PostgreSQL with the right library version. | ||
+ | WARNING: | ||
+ | DETAIL: | ||
+ | HINT: Rebuild all objects in this database that use the default collation and run ALTER DATABASE gvmd REFRESH COLLATION VERSION, or build PostgreSQL with the right library version. | ||
+ | WARNING: | ||
+ | DETAIL: | ||
+ | HINT: Rebuild all objects in this database that use the default collation and run ALTER DATABASE postgres REFRESH COLLATION VERSION, or build PostgreSQL with the right library version. | ||
+ | | ||
+ | ------------ | ||
+ | |||
+ | (1 row) | ||
+ | |||
+ | | ||
+ | ------------ | ||
+ | |||
+ | (1 row) | ||
+ | |||
+ | | ||
+ | ------------ | ||
+ | |||
+ | (1 row) | ||
+ | |||
+ | | ||
+ | ------------ | ||
+ | |||
+ | (1 row) | ||
+ | |||
+ | Fixing hardcoded library paths for stored procedures... | ||
+ | WARNING: | ||
+ | DETAIL: | ||
+ | HINT: Rebuild all objects in this database that use the default collation and run ALTER DATABASE template1 REFRESH COLLATION VERSION, or build PostgreSQL with the right library version. | ||
+ | Upgrading database template1... | ||
+ | WARNING: | ||
+ | DETAIL: | ||
+ | HINT: Rebuild all objects in this database that use the default collation and run ALTER DATABASE template1 REFRESH COLLATION VERSION, or build PostgreSQL with the right library version. | ||
+ | Fixing hardcoded library paths for stored procedures... | ||
+ | WARNING: | ||
+ | DETAIL: | ||
+ | HINT: Rebuild all objects in this database that use the default collation and run ALTER DATABASE gvmd REFRESH COLLATION VERSION, or build PostgreSQL with the right library version. | ||
+ | Upgrading database gvmd... | ||
+ | WARNING: | ||
+ | DETAIL: | ||
+ | HINT: Rebuild all objects in this database that use the default collation and run ALTER DATABASE gvmd REFRESH COLLATION VERSION, or build PostgreSQL with the right library version. | ||
+ | Fixing hardcoded library paths for stored procedures... | ||
+ | WARNING: | ||
+ | DETAIL: | ||
+ | HINT: Rebuild all objects in this database that use the default collation and run ALTER DATABASE postgres REFRESH COLLATION VERSION, or build PostgreSQL with the right library version. | ||
+ | Upgrading database postgres... | ||
+ | WARNING: | ||
+ | DETAIL: | ||
+ | HINT: Rebuild all objects in this database that use the default collation and run ALTER DATABASE postgres REFRESH COLLATION VERSION, or build PostgreSQL with the right library version. | ||
+ | Stopping target cluster... | ||
+ | Stopping old cluster... | ||
+ | Disabling automatic startup of old cluster... | ||
+ | Starting upgraded cluster on port 5432... | ||
+ | Running finish phase upgrade hook scripts ... | ||
+ | vacuumdb: processing database " | ||
+ | vacuumdb: processing database " | ||
+ | vacuumdb: processing database " | ||
+ | vacuumdb: processing database " | ||
+ | vacuumdb: processing database " | ||
+ | vacuumdb: processing database " | ||
+ | vacuumdb: processing database " | ||
+ | vacuumdb: processing database " | ||
+ | vacuumdb: processing database " | ||
+ | |||
+ | Success. Please check that the upgraded cluster works. If it does, | ||
+ | you can remove the old cluster with | ||
+ | pg_dropcluster 15 main | ||
+ | |||
+ | Ver Cluster Port Status Owner Data directory | ||
+ | 15 main 5433 down | ||
+ | Ver Cluster Port Status Owner Data directory | ||
+ | 16 main 5432 online postgres / | ||
+ | |||
+ | root@pentest: | ||
+ | |||
+ | root@pentest: | ||
+ | Ver Cluster Port Status Owner Data directory | ||
+ | 16 main 5432 online postgres / | ||
+ | |||
</ | </ | ||
Zeile 7134: | Zeile 7280: | ||
{{: | {{: | ||
{{: | {{: | ||
+ | |||
+ | ===== HPE 1950 OfficeConnect ===== | ||
+ | * Grundsätzlich ein H3C Switch - Template: **HP Comware HH3C by SNMP** | ||
+ | * **Achtung** , Anpassung bei Network Interface Discovery notwendig für Bits sent / Bits received | ||
+ | * **snmpwalk** ist dein Freund :) | ||
+ | |||
+ | {{: | ||
+ | {{: | ||
+ | {{: | ||
+ | |||
know-how/linux.txt · Zuletzt geändert: 2024/03/20 12:44 von cc